summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libaudio-qsd8k/AudioHardware.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libaudio-qsd8k/AudioHardware.cpp b/libaudio-qsd8k/AudioHardware.cpp
index f19f050..e5108e7 100644
--- a/libaudio-qsd8k/AudioHardware.cpp
+++ b/libaudio-qsd8k/AudioHardware.cpp
@@ -818,8 +818,7 @@ status_t AudioHardware::doAudioRouteOrMute(uint32_t device)
}
- if (device == (int) SND_DEVICE_BT
- || device == (int) SND_DEVICE_BT_EC_OFF) {
+ if (device == (int) SND_DEVICE_BT) {
if (mBluetoothIdTx != 0) {
rx_acdb_id = mBluetoothIdRx;
tx_acdb_id = mBluetoothIdTx;
@@ -829,7 +828,8 @@ status_t AudioHardware::doAudioRouteOrMute(uint32_t device)
tx_acdb_id = mBTEndpoints[0].tx;
LOGD("Update ACDB ID to default BT setting\n");
}
- } else if (device == (int) SND_DEVICE_CARKIT) {
+ } else if (device == (int) SND_DEVICE_CARKIT
+ || device == (int) SND_DEVICE_BT_EC_OFF) {
if (mBluetoothIdTx != 0) {
rx_acdb_id = mBluetoothIdRx;
tx_acdb_id = mBluetoothIdTx;