audio: mixer_paths: Rename mixer paths from hdmi to default audio out am: ab067abe63 am: 61b3f22d7c
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/3177719
Change-Id: I0485ff1fa9f6312e01afc11dd924e8fd9287f557
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 75d3ff0..5f42ac9 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1124,8 +1124,8 @@
hw_device_t** device)
{
char vendor_hw[PROPERTY_VALUE_MAX] = {0};
- // Prefix for the hdmi path, the board name is the suffix
- char path_name[256] = "hdmi_";
+ // Prefix for the default audio out path, the board name is the suffix
+ char path_name[256] = "default_";
ALOGV("adev_open: %s", name);
if (strcmp(name, AUDIO_HARDWARE_INTERFACE) != 0) {
diff --git a/etc/mixer_paths.xml b/etc/mixer_paths.xml
index 966e1ef..db76b6c 100644
--- a/etc/mixer_paths.xml
+++ b/etc/mixer_paths.xml
@@ -1,11 +1,11 @@
<mixer>
- <!-- Enable HDMI out for db845c -->
- <path name="hdmi_db845c">
+ <!-- Enable HDMI as default audio out for db845c -->
+ <path name="default_db845c">
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
- <!-- Enable HDMI out for rb5 -->
- <path name="hdmi_rb5">
+ <!-- Enable HDMI as default audio out for rb5 -->
+ <path name="default_rb5">
<ctl name="TERT_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
</mixer>