Added missing iec958.conf.

Added defaults for iec958.
Fixed slave type in IEC1712.conf.
Corrected config file for CMI8738.
This commit is contained in:
Takashi Iwai 2001-06-22 09:01:22 +00:00
parent be8e3bb72d
commit 828562a5ee
4 changed files with 103 additions and 16 deletions

View file

@ -2,7 +2,9 @@
# Configuration for the CMIPCI chip
#
CMIPCI.pcm.front.0 {
<confdir:pcm/front.conf>
CMI8738.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
@ -12,9 +14,11 @@ CMIPCI.pcm.front.0 {
device 0
}
<confdir:pcm/rear.conf>
# 2nd DAC
# FIXME: we need a volume attenuator for rear channel.
CMIPCI.pcm.rear.0 {
CMI8738.pcm.rear.0 {
@args [ CARD ]
@args.CARD {
type string
@ -24,12 +28,10 @@ CMIPCI.pcm.rear.0 {
device 1
}
# for the recent CM8738 chips
# cards.CMIPCI.pcm.surround40.0 "cards.CMIPCI.pcm.front.0"
CMIPCI.pcm.surround51.0 "cards.CMIPCI.pcm.front.0"
<confdir:pcm/surround40.conf>
# for the old CM8738 with 2nd DAC for rear
CMIPCI.pcm.surround40.0 {
CMI8738.pcm.surround40.0 {
@args [ CARD ]
@args.CARD {
type string
@ -41,7 +43,7 @@ CMIPCI.pcm.surround40.0 {
pcm {
@func concat
strings [
"cards.CMIPCI.pcm.front.0:CARD=" $CARD
"cards.CMI8738.pcm.front.0:CARD=" $CARD
]
}
channels 2
@ -50,7 +52,7 @@ CMIPCI.pcm.surround40.0 {
pcm {
@func concat
strings [
"cards.CMIPCI.pcm.rear.0:CARD=" $CARD
"cards.CMI8738.pcm.rear.0:CARD=" $CARD
]
}
channels 2
@ -64,8 +66,17 @@ CMIPCI.pcm.surround40.0 {
]
}
# for the recent CM8738 chips
# cards.CMI8738.pcm.surround40.0 "cards.CMI8738.pcm.front.0"
CMIPCI.pcm.iec958.0 {
<confdir:pcm/surround51.conf>
CMI8738.pcm.surround51.0 "cards.CMI8738.pcm.front.0"
<confdir:pcm/iec958.conf>
CMI8738.pcm.iec958.0 {
@args [ CARD DEV AES0 AES1 AES2 AES3 ]
@args.CARD {
type string
@ -86,18 +97,18 @@ CMIPCI.pcm.iec958.0 {
type integer
}
type hooks
slave.pcm {
type hw
card $CARD
device 2
}
hooks.0 {
type ctl_elems
hook_args [
{
name "IEC958 Enable"
value 1
lock true
preserve true
}
{
interface PCM
name "IEC958 Playback PCM Stream"
device 2
lock true
preserve true
value [ $AES0 $AES1 $AES2 $AES3 ]

View file

@ -80,7 +80,7 @@ ICE1712.pcm.iec958.0 {
}
type hooks
slave.pcm {
type plug
type route
ttable.0.8 1
ttable.1.9 1
card $CARD