[vlc-commits] PulseAudio: add 3.0 support (should fix LP#743478)

Rémi Denis-Courmont git at videolan.org
Wed May 11 18:58:55 CEST 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 11 19:58:38 2011 +0300| [74530bc81aac218a89204ed4d9f3578565f73067] | committer: Rémi Denis-Courmont

PulseAudio: add 3.0 support (should fix LP#743478)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=74530bc81aac218a89204ed4d9f3578565f73067
---

 modules/audio_output/pulse.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 198fdbc..f44384f 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -161,6 +161,11 @@ static int Open ( vlc_object_t *p_this )
                 | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT;
             break;
 
+        case 3:
+            p_aout->output.output.i_physical_channels
+                = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_CENTER;
+            break;
+
         case 2:
             p_aout->output.output.i_physical_channels
                 = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT;



More information about the vlc-commits mailing list