i need (want) to put audio stream to only specified single audio channel in 7.1 soundcard. It would be great if it is possible to do with WAVEFORMATEXTENSIBLE structure and nChannels set to 1 and ChannelMask set to specified channel.
I try to do following (in delphi):
In case when i set nChannels to 1 and ChannelMask to something else as SPEAKER_FRONT_LEFT or SPEAKER_FRONT_RIGHT, the sound is coming always from FRONT LEFT speaker. With SPEAKER_FRONT_LEFT and SPEAKER_FRONT_RIGHT it works.
Stream contains only "single sound data". Is it possible to use these configuration to put sound to separate channel or should i use 8 channels configuration and fill stream data only in position for desired channel/speaker (for example FRONT CENTER )?