예제 #1
0
파일: SoundPcm.cs 프로젝트: crojewsk/sALSA
        public int GetHwParams(out SoundPcmHwParams hwParams)
        {
            IntPtr ptr = IntPtr.Zero;
            int    ret = SoundNativeMethods.SoundPcmHwParamsCurrent(handle, ptr);

            hwParams = new SoundPcmHwParams(ptr);
            return(ret);
        }
예제 #2
0
파일: SoundPcm.cs 프로젝트: crojewsk/sALSA
 public int SetHwParams(SoundPcmHwParams hwParams)
 {
     return(SoundNativeMethods.SoundPcmHwParams(handle, hwParams.handle));
 }