If I load a sample with the FSOUND_NORMAL flag (so it’s not created in hardware) will I be able to position the 3D sound for 5.1 speakers using FSOUND_SPEAKERMODE_DOLBYDIGITAL? I will be using DirectSound (FSOUND_OUTPUT_DSOUND). Or will I just be getting stereo?
If 3D sounds are created with FSOUND_NORMAL, will they be positioned with HRTF?
- mccallus asked 14 years ago
Thank you Brett, you’ve been a great help!
Apparently, I’ve been confused about dolby digital 5.1. I’m not interested in real-time dolby encoding to SPDIF or anything, just playback of 3D buffers to PCs with a 5.1 system directly attached, like with a SBLive card with 5.1 outputs.
I guess that just setting the control panel to a 5.1 setup and positioning a 3D buffer with HRTF is the only realistic way to utilize a surround setup from DirectSound on a PC…
On Xbox, there are discrete outputs (mixbins) for 5.1 outputs, so one can manually pan a stereo source to just the rear speakers, for example. This is just not possible with DirectSound for win32, it seems.
On win32, one can use WAVEFORMATEXTENSIBLE to play a 6-channel wavefile to 5.1 outputs or to set a speaker-mask to only output a stereo wave to the rear speakers, for example, but this setup doesn’t allow for real-time manual panning of sound sources in the 5.1 field, just fixed output to discrete speakers…
I wish I was coding for Xbox!
- mccallus answered 14 years ago
Please login first to submit.