oxygen: add channel status controls

Add mixer controls to manage the S/PDIF channel status bits.
This commit is contained in:
Clemens Ladisch 2007-11-30 08:10:58 +01:00
parent 2ae2bbf190
commit 8be2d013f0

View file

@ -2,8 +2,6 @@
# Configuration for the CMI8788 chip # Configuration for the CMI8788 chip
# #
# TODO: add hooks for SPDIF mixer controls
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
CMI8788.pcm.front.0 { CMI8788.pcm.front.0 {
@ -126,10 +124,26 @@ CMI8788.pcm.iec958.0 {
} }
type asym type asym
playback.pcm { playback.pcm {
type hooks
slave.pcm {
type hw type hw
card $CARD card $CARD
device 1 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 { capture.pcm {
type hw type hw
card $CARD card $CARD