surround41/50.conf: Use chmap syntax for better flexibility

In case the hardware only supports a specific channel map,
this change would allow surround41/50 to select the correct
channel map and channel count in this situation.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
David Henningsson 2015-06-18 10:47:59 +02:00 committed by Takashi Iwai
parent 9ee6ec80b8
commit bbe9248e67
2 changed files with 10 additions and 12 deletions

View file

@ -53,12 +53,11 @@ pcm.!surround41 {
] ]
} }
} }
slave.channels 6 ttable.0.FL 1
ttable.0.0 1 ttable.1.FR 1
ttable.1.1 1 ttable.2.RL 1
ttable.2.2 1 ttable.3.RR 1
ttable.3.3 1 ttable.4.LFE 1
ttable.4.5 1
hint { hint {
description "4.1 Surround output to Front, Rear and Subwoofer speakers" description "4.1 Surround output to Front, Rear and Subwoofer speakers"
device $DEV device $DEV

View file

@ -53,12 +53,11 @@ pcm.!surround50 {
] ]
} }
} }
slave.channels 6 ttable.0.FL 1
ttable.0.0 1 ttable.1.FR 1
ttable.1.1 1 ttable.2.RL 1
ttable.2.2 1 ttable.3.RR 1
ttable.3.3 1 ttable.4.FC 1
ttable.4.4 1
hint { hint {
description "5.0 Surround output to Front, Center and Rear speakers" description "5.0 Surround output to Front, Center and Rear speakers"
device $DEV device $DEV