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