[PATCH] Fix surround playback with pulseaudio
Added by Adriano Moura about 12 years ago
Seems that Audacious pulseaudio output plugin has never set an appropriate channel map. This little patch will use pa_channel_map_init_auto and assume WAVEEX style channel mapping. Audacious can now properly output any 5.1 file I trow at it.
Before:
sample spec: float32le 6ch 88200Hz
channel map: front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center
resample method: copy
module: 6
client: 20094 <Audacious>
Now:
sample spec: float32le 6ch 88200Hz
channel map: front-left,front-right,front-center,lfe,side-left,side-right
Surround 5.1
resample method: copy
module: 6
client: 20114 <Audacious>
For correct 4.0/6.1/7.1 surround mappings you will need some pulseaudio patches, but I'm still working on this. WAVEEX seems to be wrongly implemented in pulseaudio right now.
add_pulse_chmap.patch (764 Bytes) add_pulse_chmap.patch |
Replies (2)
RE: [PATCH] Fix surround playback with pulseaudio - Added by John Lindgren about 12 years ago
Thank you for the patch. Can you please copy it to the bug tracker so that it doesn't get forgotten?
RE: [PATCH] Fix surround playback with pulseaudio - Added by Adriano Moura about 12 years ago
Sorry for the wait, doing it now