From 70d81b2409f0802e2987871e9cae8b7954caf609 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Fri, 10 Jul 2020 12:47:26 +0200 Subject: [PATCH] RPi: update vc4-hdmi.conf Enable hdmi_mode to get HBR formatting and default AES3 to 0x01 so sample rate will be filled in by iec958 formatter if not specified explicitly. Signed-off-by: Matthias Reichl --- .../RPi/filesystem/usr/share/alsa/cards/vc4-hdmi.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/projects/RPi/filesystem/usr/share/alsa/cards/vc4-hdmi.conf b/projects/RPi/filesystem/usr/share/alsa/cards/vc4-hdmi.conf index 0db45f1010..dc1e477a35 100644 --- a/projects/RPi/filesystem/usr/share/alsa/cards/vc4-hdmi.conf +++ b/projects/RPi/filesystem/usr/share/alsa/cards/vc4-hdmi.conf @@ -18,6 +18,7 @@ vc4-hdmi.pcm.hdmi.0 { } @args.AES3 { type integer + default 0x01 # IEC958_AES3_CON_FS_NOTID } type iec958 slave { @@ -44,6 +45,7 @@ vc4-hdmi.pcm.hdmi.0 { } } status [ $AES0 $AES1 $AES2 $AES3 ] + hdmi_mode true } # default with plug @@ -57,7 +59,14 @@ vc4-hdmi.pcm.default { type softvol slave.pcm { @func concat - strings [ "hdmi:" $CARD ] + strings [ + "hdmi:" + "CARD=" $CARD "," + "AES0=0x00," # IEC958_AES0_CON_EMPHASIS_NONE + "AES1=0x82," # IEC958_AES1_CON_ORIGINAL | IEC958_AES1_CON_PCM_CODER + "AES2=0x00," # IEC958_AES2_CON_SOURCE_UNSPEC | IEC958_AES2_CON_CHANNEL_UNSPEC + "AES3=0x01" # IEC958_AES3_CON_FS_NOTID + ] } control { name "PCM Playback Volume"