예제 #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);
 }
예제 #2
0
 private static extern void zplay_GetStreamInfoW(
     uint objptr,
     ref ZPlay.TStreamInfo_Internal pInfo);