From: Abramo Bagnara Date: Wed, 6 Jun 2001 14:19:03 +0000 (+0000) Subject: Added iec958 PCM definition X-Git-Tag: v1.0.3~825 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=82929cd8523091e6a861e2698d12c5215139fc78;p=alsa-lib.git Added iec958 PCM definition --- diff --git a/src/alsa.conf b/src/alsa.conf index b6b6474c..0df89916 100644 --- a/src/alsa.conf +++ b/src/alsa.conf @@ -197,3 +197,49 @@ rawmidi.hw { seq.hw { type hw } + +pcm.iec958 { + $.0 PCM + $.1 AES0 + $.2 AES1 + $.3 AES2 + $.4 AES3 + $.PCM { + type string + default default + } + $.AES0 { + type integer + # IEC958_AES0_PROFESSIONAL | IEC958_AES0_NONAUDIO | + # IEC958_AES0_PRO_EMPHASIS_NONE | IEC958_AES0_PRO_FS_48000 + default 0x87 + } + $.AES1 { + type integer + default 0x00 + } + $.AES2 { + type integer + default 0x00 + } + $.AES3 { + type integer + default 0x00 + } + type hooks + slave.pcm $PCM + hooks.0 { + type ctl_elems + args.0 { + name "IEC958 Playback PCM Stream" + subdevice 0 + preserve true + lock true + value.0 $AES0 + value.1 $AES1 + value.2 $AES2 + value.3 $AES3 + } + } +} +