Example #1
0
        public static string GetName(this SoundPcmStream stream)
        {
            IntPtr ptr = SoundNativeMethods.SoundPcmStreamName(stream);

            return(Marshal.PtrToStringAnsi(ptr));
        }
Example #2
0
 public int Open(string name, SoundPcmStream stream, SoundPcmOpenMode mode)
 {
     return(SoundNativeMethods.SoundPcmOpen(out handle, name, stream, mode));
 }
Example #3
0
 public void SetStream(SoundPcmStream stream)
 {
     SoundNativeMethods.SoundPcmInfoSetStream(handle, stream);
 }