[vlc-commits] PulseAudio: clobber original channels (refs #12673)
Rémi Denis-Courmont
git at videolan.org
Sun Nov 2 11:10:47 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 2 11:35:16 2014 +0200| [a842bc4778ea330326af8abf6de5659c78e30cb7] | committer: Rémi Denis-Courmont
PulseAudio: clobber original channels (refs #12673)
Do like the other outputs do.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a842bc4778ea330326af8abf6de5659c78e30cb7
---
modules/audio_output/pulse.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index a2da4d7..069cf6a 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -759,6 +759,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
}
if (fmt->i_physical_channels & AOUT_CHAN_LFE)
map.map[map.channels++] = PA_CHANNEL_POSITION_LFE;
+ fmt->i_original_channels = fmt->i_physical_channels;
for (unsigned i = 0; map.channels < ss.channels; i++) {
map.map[map.channels++] = PA_CHANNEL_POSITION_AUX0 + i;
More information about the vlc-commits
mailing list