added the new configuration for ATI IXP direct SPDIF mode.

This commit is contained in:
Takashi Iwai 2004-05-04 15:27:17 +00:00
parent 5586e5cbb1
commit a6fe995bd8
2 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,130 @@
#
# Configuration for the ATI IXP 150/200/250 chips
#
<confdir:pcm/front.conf>
ATIIXP-SPDMA.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
device 0
}
<confdir:pcm/surround40.conf>
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
}
]
}
}
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
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
}
]
}
}
<confdir:pcm/iec958.conf>
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 ]
}

View file

@ -1,6 +1,7 @@
alsadir = $(datadir)/alsa/cards
cfg_files = aliases.conf \
ATIIXP.conf \
ATIIXP-SPDMA.conf \
AU8810.conf \
AU8820.conf \
AU8830.conf \