From a6fe995bd87d6ce50f79fd15e521eba41d8c5898 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 4 May 2004 15:27:17 +0000 Subject: [PATCH] added the new configuration for ATI IXP direct SPDIF mode. --- src/conf/cards/ATIIXP-SPDMA.conf | 130 +++++++++++++++++++++++++++++++ src/conf/cards/Makefile.am | 1 + 2 files changed, 131 insertions(+) create mode 100644 src/conf/cards/ATIIXP-SPDMA.conf diff --git a/src/conf/cards/ATIIXP-SPDMA.conf b/src/conf/cards/ATIIXP-SPDMA.conf new file mode 100644 index 00000000..4b0de2f2 --- /dev/null +++ b/src/conf/cards/ATIIXP-SPDMA.conf @@ -0,0 +1,130 @@ +# +# Configuration for the ATI IXP 150/200/250 chips +# + + + +ATIIXP-SPDMA.pcm.front.0 { + @args [ CARD ] + @args.CARD { + type string + } + type hw + card $CARD + device 0 +} + + + +ATIIXP-SPDMA.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 "Line-In As Surround" + preserve true + value true + lock true + optional true + } + { + name "Surround Down Mix" + preserve true + value off + lock true + optional true + } + ] + } +} + + + + + +ATIIXP-SPDMA.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 "Line-In As Surround" + preserve true + value true + lock true + optional true + } + { + name "Mic As Center/LFE" + preserve true + value true + lock true + optional true + } + { + name "Surround Down Mix" + preserve true + value off + lock true + optional true + } + { + name "Center/LFE Down Mix" + preserve true + value off + lock true + optional true + } + ] + } +} + + + +ATIIXP-SPDMA.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 iec958 + slave { + pcm { + type hw + card $CARD + device 1 + } + format IEC958_SUBFRAME_LE + } + status [ $AES0 $AES1 $AES2 $AES3 ] +} diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am index 3db8c137..77004560 100644 --- a/src/conf/cards/Makefile.am +++ b/src/conf/cards/Makefile.am @@ -1,6 +1,7 @@ alsadir = $(datadir)/alsa/cards cfg_files = aliases.conf \ ATIIXP.conf \ + ATIIXP-SPDMA.conf \ AU8810.conf \ AU8820.conf \ AU8830.conf \ -- 2.47.1