From bbbb06bc8fcc3ded21a01c074a83438928d20ed3 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 23 Jun 2006 14:42:59 +0200 Subject: [PATCH] Turn on iec958 capture of iec1724 boards with spdif PCM Automatically turn on iec958 capture of iec1724 boards with spdif PCM via hooks plugin. --- src/conf/cards/Aureon51.conf | 21 ++++++++++++++++++--- src/conf/cards/Aureon71.conf | 21 ++++++++++++++++++--- src/conf/cards/ICE1724.conf | 21 ++++++++++++++++++--- 3 files changed, 54 insertions(+), 9 deletions(-) diff --git a/src/conf/cards/Aureon51.conf b/src/conf/cards/Aureon51.conf index d63d8b7d..996beda5 100644 --- a/src/conf/cards/Aureon51.conf +++ b/src/conf/cards/Aureon51.conf @@ -150,8 +150,23 @@ Aureon51.pcm.iec958.0 { } } capture.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 MIXER + name "IEC958 Capture Switch" + lock true + preserve true + value true + } + ] + } } } diff --git a/src/conf/cards/Aureon71.conf b/src/conf/cards/Aureon71.conf index 8e05098c..38d47202 100644 --- a/src/conf/cards/Aureon71.conf +++ b/src/conf/cards/Aureon71.conf @@ -161,8 +161,23 @@ Aureon71.pcm.iec958.0 { } } capture.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 MIXER + name "IEC958 Capture Switch" + lock true + preserve true + value true + } + ] + } } } diff --git a/src/conf/cards/ICE1724.conf b/src/conf/cards/ICE1724.conf index ba77e212..41b16ffe 100644 --- a/src/conf/cards/ICE1724.conf +++ b/src/conf/cards/ICE1724.conf @@ -195,8 +195,23 @@ ICE1724.pcm.iec958.0 { } } capture.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 MIXER + name "IEC958 Capture Switch" + lock true + preserve true + value true + } + ] + } } } -- 2.47.1