# Configuration for the CMIPCI chip
#
-cards.CMIPCI.pcm.front.0 {
+cards.CMI8738.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
# 2nd DAC
# FIXME: we need a volume attenuator for rear channel.
-cards.CMIPCI.pcm.rear.0 {
+cards.CMI8738.pcm.rear.0 {
@args [ CARD ]
@args.CARD {
type string
}
# for the recent CM8738 chips
-# cards.CMIPCI.pcm.surround40.0 "cards.CMIPCI.pcm.front.0"
-cards.CMIPCI.pcm.surround51.0 "cards.CMIPCI.pcm.front.0"
+# cards.CMI8738.pcm.surround40.0 "cards.CMI8738.pcm.front.0"
+cards.CMI8738.pcm.surround51.0 "cards.CMI8738.pcm.front.0"
# for the old CM8738 with 2nd DAC for rear
-cards.CMIPCI.pcm.surround40.0 {
+cards.CMI8738.pcm.surround40.0 {
@args [ CARD ]
@args.CARD {
type string
pcm {
@func concat
strings [
- "cards.CMIPCI.pcm.front.0:CARD=" $CARD
+ "cards.CMI8738.pcm.front.0:CARD=" $CARD
]
}
channels 2
pcm {
@func concat
strings [
- "cards.CMIPCI.pcm.rear.0:CARD=" $CARD
+ "cards.CMI8738.pcm.rear.0:CARD=" $CARD
]
}
channels 2
}
-cards.CMIPCI.pcm.iec958.0 {
+cards.CMI8738.pcm.iec958.0 {
@args [ CARD DEV AES0 AES1 AES2 AES3 ]
@args.CARD {
type string
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 ]