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