Exemplo n.º 1
0
 public void GetStreamInfo(ref TStreamInfo info)
 {
     ZPlay.TStreamInfo_Internal pInfo = new ZPlay.TStreamInfo_Internal();
     ZPlay.zplay_GetStreamInfoW(this.objptr, ref pInfo);
     info.Bitrate       = pInfo.Bitrate;
     info.ChannelNumber = pInfo.ChannelNumber;
     info.SamplingRate  = pInfo.SamplingRate;
     info.VBR           = pInfo.VBR;
     info.Length        = pInfo.Length;
     info.Description   = Marshal.PtrToStringUni(pInfo.Description);
 }
Exemplo n.º 2
0
 private static extern void zplay_GetStreamInfoW(
     uint objptr,
     ref ZPlay.TStreamInfo_Internal pInfo);