diff --git a/alsa_sound/alsa_default.cpp b/alsa_sound/alsa_default.cpp index ff065d54..41aae711 100644 --- a/alsa_sound/alsa_default.cpp +++ b/alsa_sound/alsa_default.cpp @@ -1409,10 +1409,11 @@ char *getUCMDevice(uint32_t devices, int input, char *rxDevice) } else if (devices & AudioSystem::DEVICE_IN_AUX_DIGITAL) { return strdup(SND_USE_CASE_DEV_HDMI_TX); /* HDMI TX */ #ifdef QCOM_ANC_HEADSET_ENABLED - } else if ((devices & AudioSystem::DEVICE_IN_WIRED_HEADSET) || - (devices & AudioSystem::DEVICE_IN_ANC_HEADSET)) { + } else if (devices & AudioSystem::DEVICE_IN_ANC_HEADSET) { return strdup(SND_USE_CASE_DEV_HEADSET); /* HEADSET TX */ #endif + } else if (devices & AudioSystem::DEVICE_IN_WIRED_HEADSET) { + return strdup(SND_USE_CASE_DEV_HEADSET); /* HEADSET TX */ } else if (devices & AudioSystem::DEVICE_IN_BLUETOOTH_SCO_HEADSET) { if (btsco_samplerate == BTSCO_RATE_16KHZ) return strdup(SND_USE_CASE_DEV_BTSCO_WB_TX); /* BTSCO TX*/