This project has moved. For the latest updates, please go here.

Specify which channel

Nov 25, 2009 at 4:45 AM


Is there a way to specify which channel the audio is played out of? I'm following the sine wave tutorial from and I'm wondering if I can tell one SineWaveProvider32/WaveProvider32 to output to the left channel and another to output to the right channel.

Nov 28, 2009 at 6:31 PM

well you could make another IWaveProvider that interleaved samples from your two SineWaveProviders. Ultimately I would like to add an IWaveProvider mixer which should do this. Have a look at the WaveChannel32 and WaveMixerStream for the WaveStream way of doing this.