]> code.delx.au - pulseaudio/commitdiff
alsa-mixer: Fix mixer path for AC3 profiles
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 17 Jan 2012 11:24:44 +0000 (16:54 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 17 Jan 2012 11:28:40 +0000 (16:58 +0530)
The recent change to turn off the IEC958 element for analog paths
exposed a bug in AC3 profiles. These were inheriting the analog output
path instead of explicitly selecting the iec958 path.

Thanks to David Henningsson for pointing this out.

src/modules/alsa/mixer/profile-sets/default.conf

index 283edfb39cbedac5fa3f54165e6dfae13d62f0e2..fe51bc2b185dca732f7e5de28701f96d098c9191 100644 (file)
@@ -158,12 +158,14 @@ priority = 5
 [Mapping iec958-ac3-surround-40]
 device-strings = a52:%f
 channel-map = front-left,front-right,rear-left,rear-right
+paths-output = iec958-stereo-output
 priority = 2
 direction = output
 
 [Mapping iec958-ac3-surround-51]
 device-strings = a52:%f
 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
+paths-output = iec958-stereo-output
 priority = 3
 direction = output