public int GetHwParams(out SoundPcmHwParams hwParams) { IntPtr ptr = IntPtr.Zero; int ret = SoundNativeMethods.SoundPcmHwParamsCurrent(handle, ptr); hwParams = new SoundPcmHwParams(ptr); return(ret); }
public int SetHwParams(SoundPcmHwParams hwParams) { return(SoundNativeMethods.SoundPcmHwParams(handle, hwParams.handle)); }