New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulseaudio: Support 5-channel surround, optional in UI #1835
Conversation
@skidau ^ Does anyone have a 5.1 system on linux to test this with? |
Some quick web searching shows that pa_stream_new takes a pa_channel_map pointer... I think that lets you specify a true 5.1 setup. |
You're right, that's cool - didn't find that info on first search - I'll do it that way. |
Done - fork updated. Now submits audio in 5.1. LFE channel seems very quiet but I guess that's for the DPL2 decoder and the PA mixer levels to sort out between them. :) |
@@ -22,8 +22,17 @@ PulseAudio::PulseAudio(CMixer *mixer) | |||
|
|||
bool PulseAudio::Start() | |||
{ | |||
m_stereo = ! SConfig::GetInstance().m_LocalCoreStartupParameter.bDPL2Decoder; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
space removed. |
Thanks, would you squash the four commits into one? |
Ugh, squash fail. Will try again or submit a new pull request from a different branch. |
Okay, squashed. Looks like I didn't freak github out. |
@dolphin-emu-bot rebuild |
The bot says there are trailing whitespaces in this commit. Would you please remove them? |
done, and resquashed. |
@dolphin-emu-bot rebuild |
Pulseaudio: Support 5-channel surround, optional in UI
Adds ability - if DPL2 option set in Audio prefs - to decode DPL2 and send PulseAudio a 5-channel output. (n.b. asking Pulse for 6-channel output gives 6.0 surround rather than 5.1, so 5.0 is it.) Tested as doing a convincing job of working with Eternal Darkness and a 5.0/5.1 physical setup.
Stereo path left unchanged.