public static string GetName(this SoundPcmStream stream) { IntPtr ptr = SoundNativeMethods.SoundPcmStreamName(stream); return(Marshal.PtrToStringAnsi(ptr)); }
public int Open(string name, SoundPcmStream stream, SoundPcmOpenMode mode) { return(SoundNativeMethods.SoundPcmOpen(out handle, name, stream, mode)); }
public void SetStream(SoundPcmStream stream) { SoundNativeMethods.SoundPcmInfoSetStream(handle, stream); }