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