internal static void WaveOutProc(global::System.IntPtr hdrvr, int uMsg, int dwUser, ref global::WaveLib.WaveNative.WaveHdr wavhdr, int dwParam2) { if (uMsg == global::WaveLib.WaveNative.MM_WOM_DONE) { try { global::System.Runtime.InteropServices.GCHandle h = (global::System.Runtime.InteropServices.GCHandle)wavhdr.dwUser; (h.Target as global::WaveLib.WaveNative.WaveOutBuffer).OnCompleted(); } catch { /* NOTHING */ } } }
[global::System.Runtime.InteropServices.DllImport(global::WaveLib.WaveNative.mmdll)] public static extern int waveInAddBuffer(global::System.IntPtr hwi, ref global::WaveLib.WaveNative.WaveHdr pwh, int cbwh);
[global::System.Runtime.InteropServices.DllImport(global::WaveLib.WaveNative.mmdll)] public static extern int waveInUnprepareHeader(global::System.IntPtr hWaveIn, ref global::WaveLib.WaveNative.WaveHdr lpWaveInHdr, int uSize);
[global::System.Runtime.InteropServices.DllImport(global::WaveLib.WaveNative.mmdll)] public static extern int waveOutWrite(global::System.IntPtr hWaveOut, ref global::WaveLib.WaveNative.WaveHdr lpWaveOutHdr, int uSize);