[vlc-commits] PulseAudio: clobber original channels (refs #12673)

Rémi Denis-Courmont git at videolan.org
Sun Nov 2 11:12:29 CET 2014


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov  2 11:35:16 2014 +0200| [5a53ff0de2eeaab69980975ec8a4c6e6b78f190a] | committer: Rémi Denis-Courmont

PulseAudio: clobber original channels (refs #12673)

Do like the other outputs do.

(cherry picked from commit a842bc4778ea330326af8abf6de5659c78e30cb7)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=5a53ff0de2eeaab69980975ec8a4c6e6b78f190a
---

 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