From abf04e4cfd57b53a6f097a4018ffe0030453fb9f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 24 May 2004 14:54:54 +0000 Subject: [PATCH] added missing VIA686A.conf --- src/conf/cards/Makefile.am | 1 + src/conf/cards/VIA686A.conf | 71 +++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 src/conf/cards/VIA686A.conf diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am index 04d6d257..ccc25479 100644 --- a/src/conf/cards/Makefile.am +++ b/src/conf/cards/Makefile.am @@ -25,6 +25,7 @@ cfg_files = aliases.conf \ SI7018.conf \ TRID4DWAVENX.conf \ YMF744.conf \ + VIA686A.conf \ VIA8233.conf \ VIA8233A.conf \ VX222.conf \ diff --git a/src/conf/cards/VIA686A.conf b/src/conf/cards/VIA686A.conf new file mode 100644 index 00000000..6d420dc5 --- /dev/null +++ b/src/conf/cards/VIA686A.conf @@ -0,0 +1,71 @@ +# +# Configuration for the VIA686A chip +# +# SPDIF support is not complete - it might not work, especially with AC3 +# passthru mode... +# + + + +VIA686A.pcm.front.0 { + @args [ CARD ] + @args.CARD { + type string + } + type hw + card $CARD + device 0 +} + + + +VIA686A.pcm.iec958.0 { + @args [ CARD AES0 AES1 AES2 AES3 ] + @args.CARD { + type string + } + @args.AES0 { + type integer + } + @args.AES1 { + type integer + } + @args.AES2 { + type integer + } + @args.AES3 { + type integer + } + type hooks + slave.pcm { + type hw + card $CARD + device 0 + } + hooks.0 { + type ctl_elems + hook_args [ + { + name "IEC958 Playback AC97-SPSA" + device 0 + lock true + preserve true + value 0 + } + { + name "IEC958 Playback Default" + device 0 + lock true + preserve true + value [ $AES0 $AES1 $AES2 $AES3 ] + } + { + name "IEC958 Playback Switch" + device 0 + lock true + preserve true + value true + } + ] + } +} -- 2.47.1