public bool GetWaveInInfo(uint Index, ref TWaveInInfo Info) { ZPlay.TWaveInInfo_Internal pWaveOutInfo = new ZPlay.TWaveInInfo_Internal(); if (ZPlay.zplay_GetWaveInInfoW(this.objptr, Index, ref pWaveOutInfo) == 0) { return(false); } Info.Channels = pWaveOutInfo.Channels; Info.DriverVersion = pWaveOutInfo.DriverVersion; Info.Formats = pWaveOutInfo.Formats; Info.ManufacturerID = pWaveOutInfo.ManufacturerID; Info.ProductID = pWaveOutInfo.ProductID; Info.ProductName = Marshal.PtrToStringUni(pWaveOutInfo.ProductName); return(true); }
private static extern int zplay_GetWaveInInfoW( uint objptr, uint nIndex, ref ZPlay.TWaveInInfo_Internal pWaveOutInfo);