(08-06-2017, 02:20 AM)roxahris Wrote: [ -> ]In testing Soul Calibur 2 with a 7.1 setup, Windows outputting in 7.1, audio set to DSP LLE interpreter, and switching between OpenAL and cubeb, it seems that the decoder built into Dolphin only works with OpenAL. While using cubeb, the speaker test will only come out in two channels.
While it might be obvious to some, I should note that HLE doesn't work with Pro Logic II either. (It doesn't get decoded into anything proper.) But that's a totally seperate issue.
Hmm, it's
supposed to output surround sound correctly. What version of Windows are you using? And does it work if you tell Windows to output in 5.1 instead? (Maybe it's doing something wrong when trying to match the number of channels).
Yep, HLE doesn't support DPL2 encoding. I'm not sure what it does instead, but, regardless, the final stereo stream can't be properly decoded to 5.1.
WHY ARE WE TALKING SO QUIET SURROUND SOUND SHOULD WORK IN HLE SOMEDAY IS THERE AN ISSUE REPORT?
(08-06-2017, 02:20 AM)roxahris Wrote: [ -> ]I've been testing Dolphin with a surround sound setup recently.
In testing Soul Calibur 2 with a 7.1 setup, Windows outputting in 7.1, audio set to DSP LLE interpreter, and switching between OpenAL and cubeb, it seems that the decoder built into Dolphin only works with OpenAL. While using cubeb, the speaker test will only come out in two channels.
Disabling Dolphin's Pro Logic II decoder and enabling Pro Logic II decoding on the receiver does produce surround sound while using cubeb. But I'd say that the inbuilt decoder should probably be fixed to support cubeb before OpenAL is removed.
While it might be obvious to some, I should note that HLE doesn't work with Pro Logic II either. (It doesn't get decoded into anything proper.) But that's a totally seperate issue.
Strange, Windows is set to 7.1, correct? Try setting it to 5.1. Maybe Cubeb is getting confused somehow.
Yes, currently DPLII only works on LLE as HLE does not have a surround encoder to encode the audio to DPLII so another decoder can decode it along the line. Maybe it doesn't even have the ability to set audio sources in 3D space yet.
I guess when surround is implemented on HLE the devs will just send the raw surround sound to the audio mixer to save a processing step.
Anyway, if you plan to use the DPLII decoder do note that the current one is not very good. If you want to hear the sound the way it was meant to be heard you must use this PR:
https://github.com/dolphin-emu/dolphin/pull/5235
Here is the file compiled, just fixed a small typo that I had found and rebased everything, so it also has the newest Ubershaders:
https://dl.dolphin-emu.org/prs/pr-5235-dolphin-latest-x64.7z