[vlc-commits] PulseAudio: fix side speakers mapping

Rémi Denis-Courmont git at videolan.org
Sat Apr 9 11:07:02 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr  9 12:06:16 2011 +0300| [90ef491bb4fa4b93b4bc620f656828ad47f0d8a7] | committer: Rémi Denis-Courmont

PulseAudio: fix side speakers mapping

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90ef491bb4fa4b93b4bc620f656828ad47f0d8a7
---

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

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index b212d95..8749cfc 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -365,9 +365,9 @@ static int Open(vlc_object_t *obj)
     if (aout->output.output.i_physical_channels & AOUT_CHAN_RIGHT)
         map.map[map.channels++] = PA_CHANNEL_POSITION_FRONT_RIGHT;
     if (aout->output.output.i_physical_channels & AOUT_CHAN_MIDDLELEFT)
-        map.map[map.channels++] = PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER;
+        map.map[map.channels++] = PA_CHANNEL_POSITION_SIDE_LEFT;
     if (aout->output.output.i_physical_channels & AOUT_CHAN_MIDDLERIGHT)
-        map.map[map.channels++] = PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER;
+        map.map[map.channels++] = PA_CHANNEL_POSITION_SIDE_RIGHT;
     if (aout->output.output.i_physical_channels & AOUT_CHAN_REARLEFT)
         map.map[map.channels++] = PA_CHANNEL_POSITION_REAR_LEFT;
     if (aout->output.output.i_physical_channels & AOUT_CHAN_REARRIGHT)



More information about the vlc-commits mailing list