From: Takashi Iwai Date: Thu, 24 Feb 2005 10:19:23 +0000 (+0000) Subject: Fix SPDIF device X-Git-Tag: v1.0.9rc1~12 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=acc032b63f9fbd54a2ff3f7d45f3eabef4c6706d;p=alsa-lib.git Fix SPDIF device Fixed SPDIF device number. --- diff --git a/src/conf/cards/HDA-Intel.conf b/src/conf/cards/HDA-Intel.conf index c0819279..7f5a1ee1 100644 --- a/src/conf/cards/HDA-Intel.conf +++ b/src/conf/cards/HDA-Intel.conf @@ -80,15 +80,17 @@ HDA-Intel.pcm.iec958.0 { @args.AES3 { type integer } - type hooks - slave.pcm { - type hw - card $CARD - device 0 - } - hooks.0 { - type ctl_elems - hook_args [ + type asym + playback.pcm { + type hooks + slave.pcm { + type hw + card $CARD + device 1 + } + hooks.0 { + type ctl_elems + hook_args [ { name "IEC958 Playback Default" lock true @@ -101,6 +103,26 @@ HDA-Intel.pcm.iec958.0 { preserve true value true } - ] + ] + } + } + capture.pcm { + type hooks + slave.pcm { + type hw + card $CARD + device 1 + } + hooks.0 { + type ctl_elems + hook_args [ + { + name "IEC958 Capture Switch" + lock true + preserve true + value true + } + ] + } } }