From: Takashi Iwai Date: Wed, 2 Apr 2003 14:45:36 +0000 (+0000) Subject: added surround51, center and lfe definitions. X-Git-Tag: v1.0.3~185 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f4891ca9327d9ef37f3a49956ca595648573b123;p=alsa-lib.git added surround51, center and lfe definitions. --- diff --git a/src/conf/cards/CS46xx.conf b/src/conf/cards/CS46xx.conf index e4f57545..4dc4370f 100644 --- a/src/conf/cards/CS46xx.conf +++ b/src/conf/cards/CS46xx.conf @@ -26,6 +26,18 @@ CS46xx.pcm.rear.0 { device 1 } + + +CS46xx.pcm.center_lfe.0 { + @args [ CARD ] + @args.CARD { + type string + } + type hw + card $CARD + device 3 +} + CS46xx.pcm.surround40.0 { @@ -62,6 +74,53 @@ CS46xx.pcm.surround40.0 { ] } + + +CS46xx.pcm.surround51.0 { + @args [ CARD ] + @args.CARD { + type string + } + type multi + slaves [ + { + pcm { + @func concat + strings [ + "cards.CS46xx.pcm.front.0:CARD=" $CARD + ] + } + channels 2 + } + { + pcm { + @func concat + strings [ + "cards.CS46xx.pcm.rear.0:CARD=" $CARD + ] + } + channels 2 + } + { + pcm { + @func concat + strings [ + "cards.CS46xx.pcm.center_lfe.0:CARD=" $CARD + ] + } + channels 2 + } + ] + bindings [ + { slave 0 channel 0 } + { slave 0 channel 1 } + { slave 1 channel 0 } + { slave 1 channel 1 } + { slave 2 channel 0 } + { slave 2 channel 1 } + ] +} + CS46xx.pcm.iec958.0 {