From f80f8966c248d7450b60976e5de6d0ebb9f6a56c Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Tue, 25 Jun 2019 22:54:32 +0200 Subject: [PATCH] RPi: add alsa card conf for bcm2835-audio Signed-off-by: Matthias Reichl --- .../usr/share/alsa/cards/bcm2835_alsa.conf | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 projects/RPi/filesystem/usr/share/alsa/cards/bcm2835_alsa.conf diff --git a/projects/RPi/filesystem/usr/share/alsa/cards/bcm2835_alsa.conf b/projects/RPi/filesystem/usr/share/alsa/cards/bcm2835_alsa.conf new file mode 100644 index 0000000000..71b23fadb4 --- /dev/null +++ b/projects/RPi/filesystem/usr/share/alsa/cards/bcm2835_alsa.conf @@ -0,0 +1,37 @@ + +bcm2835_alsa.pcm.iec958.0 { + @args [ CARD AES0 AES1 AES2 AES3 ] + @args.CARD { + type string + } + @args.AES0 { + type integer + } + @args.AES1 { + type integer + } + @args.AES2 { + type integer + } + @args.AES3 { + type integer + } + type hooks + slave.pcm { + type hw + card $CARD + device 1 + } + hooks.0 { + type ctl_elems + hook_args [ + { + interface PCM + name "IEC958 Playback Default" + lock true + preserve true + value [ $AES0 $AES1 $AES2 $AES3 ] + } + ] + } +}