Ejemplo n.º 1
0
 public static extern int waveOutOpen(
     out IntPtr hWaveOut,
     int uDeviceID,
     WaveFormat lpFormat,
     WaveNative.WaveDelegate dwCallback,
     int dwInstance,
     int dwFlags);
Ejemplo n.º 2
0
 public WaveOut(int buffers, int bufferSize)
 {
     wd = WaveCallback;
     format = new WaveFormat(44100, 16, 2);
     buf = new WaveBufferList(buffers, bufferSize);
 }