audio: add the headset tx
Change-Id: If15ef8362dd2800c41fb945b96488844db29e5db
This commit is contained in:
parent
a6ec2c4e60
commit
15defbaaf7
|
@ -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*/
|
||||
|
|
Loading…
Reference in New Issue