From: Clemens Ladisch Date: Fri, 30 Nov 2007 07:10:58 +0000 (+0100) Subject: oxygen: add channel status controls X-Git-Tag: v1.0.16rc1~39 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8be2d013f04d78359757520f34b3d10cd6e05ad6;p=alsa-lib.git oxygen: add channel status controls Add mixer controls to manage the S/PDIF channel status bits. --- diff --git a/src/conf/cards/CMI8788.conf b/src/conf/cards/CMI8788.conf index e05da8f6..59b560cb 100644 --- a/src/conf/cards/CMI8788.conf +++ b/src/conf/cards/CMI8788.conf @@ -2,8 +2,6 @@ # Configuration for the CMI8788 chip # -# TODO: add hooks for SPDIF mixer controls - CMI8788.pcm.front.0 { @@ -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