mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
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:
parent
cfbfd3ee0e
commit
70d81b2409
@ -18,6 +18,7 @@ vc4-hdmi.pcm.hdmi.0 {
|
|||||||
}
|
}
|
||||||
@args.AES3 {
|
@args.AES3 {
|
||||||
type integer
|
type integer
|
||||||
|
default 0x01 # IEC958_AES3_CON_FS_NOTID
|
||||||
}
|
}
|
||||||
type iec958
|
type iec958
|
||||||
slave {
|
slave {
|
||||||
@ -44,6 +45,7 @@ vc4-hdmi.pcm.hdmi.0 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
status [ $AES0 $AES1 $AES2 $AES3 ]
|
status [ $AES0 $AES1 $AES2 $AES3 ]
|
||||||
|
hdmi_mode true
|
||||||
}
|
}
|
||||||
|
|
||||||
# default with plug
|
# default with plug
|
||||||
@ -57,7 +59,14 @@ vc4-hdmi.pcm.default {
|
|||||||
type softvol
|
type softvol
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
@func concat
|
@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 {
|
control {
|
||||||
name "PCM Playback Volume"
|
name "PCM Playback Volume"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user