[alsa-devel] [PATCH - alsa-lib 3/3] add surround21 to Echo3G devices
From: Tom Yan tom.ty89@gmail.com
Signed-off-by: Tom Yan tom.ty89@gmail.com
diff --git a/src/conf/cards/Echo_Echo3G.conf b/src/conf/cards/Echo_Echo3G.conf index dc95de6..548e709 100644 --- a/src/conf/cards/Echo_Echo3G.conf +++ b/src/conf/cards/Echo_Echo3G.conf @@ -50,6 +50,40 @@ Echo_Echo3G.pcm.side.0 { subdevice 6 }
+confdir:pcm/surround21.conf +Echo_Echo3G.pcm.surround21.0 { + @args [ CARD ] + @args.CARD { + type string + } + type multi + slaves [ + { + pcm { + @func concat + strings [ + "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD + ] + } + channels 2 + } + { + pcm { + @func concat + strings [ + "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD + ] + } + channels 2 + } + ] + bindings [ + { slave 0 channel 0 } + { slave 0 channel 1 } + { slave 1 channel 0 } + ] +} + confdir:pcm/surround30.conf Echo_Echo3G.pcm.surround30.0 { @args [ CARD ]
participants (1)
-
tom.ty89@gmail.com