audio: use vendor properties

This commit is contained in:
Konsta
2025-04-01 02:07:56 +03:00
parent ff19fe9878
commit 87e473d8ff
7 changed files with 18 additions and 8 deletions

View File

@@ -89,7 +89,7 @@ struct alsa_stream_out {
static void get_alsa_device_name(char *name) {
char hdmi_device[PROPERTY_VALUE_MAX];
property_get("persist.audio.hdmi.device", hdmi_device, "vc4hdmi0");
property_get("persist.vendor.audio.hdmi.device", hdmi_device, "vc4hdmi0");
// use card configured in vc4-hdmi.conf to get IEC958 subframe conversion
sprintf(name, "default:CARD=%s", hdmi_device);