Exemplo n.º 1
0
 public WaveOut(int buffers, int bufferSize)
 {
     wd = WaveCallback;
     format = new WaveFormat(44100, 16, 2);
     buf = new WaveBufferList(buffers, bufferSize);
 }
Exemplo n.º 2
0
 public void SetFormat(int sampleRate, int bits, int channels)
 {
     format = new WaveFormat(sampleRate, bits, channels);
 }
Exemplo n.º 3
0
 public static extern int waveOutOpen(out IntPtr hWaveOut, uint uDeviceID, WaveFormat lpFormat, WaveDelegate dwCallback, int dwInstance, int dwFlags);