From bc62be2388aa366c9c19e33e8f9c1cb60a5c4501 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 25 Feb 2003 16:57:59 +0000 Subject: [PATCH] set/reset the surround-swap switch for 4 and 6 channel playback. --- src/conf/cards/VIA8233A.conf | 52 ++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/src/conf/cards/VIA8233A.conf b/src/conf/cards/VIA8233A.conf index 4c632865..6db7bd68 100644 --- a/src/conf/cards/VIA8233A.conf +++ b/src/conf/cards/VIA8233A.conf @@ -16,11 +16,59 @@ VIA8233A.pcm.front.0 { -VIA8233A.pcm.surround51.0 "cards.VIA8233A.pcm.surround40.0" +VIA8233A.pcm.surround40.0 { + @args [ CARD ] + @args.CARD { + type string + } + type hooks + slave.pcm { + type hw + card $CARD + device 0 + } + hooks.0 { + type ctl_elems + hook_args [ + { + name "Swap Surround Slot" + device 0 + lock true + preserve true + value flase + optional true + } + ] + } +} -VIA8233A.pcm.surround51.0 "cards.VIA8233A.pcm.surround40.0" +VIA8233A.pcm.surround51.0 { + @args [ CARD ] + @args.CARD { + type string + } + type hooks + slave.pcm { + type hw + card $CARD + device 0 + } + hooks.0 { + type ctl_elems + hook_args [ + { + name "Swap Surround Slot" + device 0 + lock true + preserve true + value true + optional true + } + ] + } +} -- 2.47.1