changeset: 2360:b399df1b90be
user: cladisch
date: Fri Nov 30 08:10:58 2007 +0100
files: src/conf/cards/CMI8788.conf
description:
oxygen: add channel status controls
Add mixer controls to manage the S/PDIF channel status bits.
diff -r 72319841085a -r b399df1b90be src/conf/cards/CMI8788.conf
--- a/src/conf/cards/CMI8788.conf Wed Nov 28 14:24:26 2007 +0100
+++ b/src/conf/cards/CMI8788.conf Fri Nov 30 08:10:58 2007 +0100
@@ -1,8 +1,6 @@
#
# Configuration for the CMI8788 chip
#
-
-# TODO: add hooks for SPDIF mixer controls
<confdir:pcm/front.conf>
@@ -126,9 +124,25 @@ CMI8788.pcm.iec958.0 {
}
type asym
playback.pcm {
- type hw
- card $CARD
- device 1
+ type hooks
+ slave.pcm {
+ type hw
+ card $CARD
+ device 1
+ }
+ hooks.0 {
+ type ctl_elems
+ hook_args [
+ {
+ interface PCM
+ device 1
+ name "IEC958 Playback PCM Stream"
+ lock true
+ preserve true
+ value [ $AES0 $AES1 $AES2 $AES3 ]
+ }
+ ]
+ }
}
capture.pcm {
type hw
|