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 <hias@horus.com>
This commit is contained in:
Matthias Reichl 2020-07-10 12:47:26 +02:00
parent cfbfd3ee0e
commit 70d81b2409

View File

@ -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"