예제 #1
0
 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);
 }
예제 #2
0
 private static extern int zplay_GetWaveInInfoW(
     uint objptr,
     uint nIndex,
     ref ZPlay.TWaveInInfo_Internal pWaveOutInfo);