commit | 80dfa914617c7e58fa13afc4b8af23063a6cba60 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Feb 09 18:11:51 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 09 18:11:51 2022 +0000 |
tree | 733a14e5af834599ffcbdc71e257bf885b738ded | |
parent | bd3adb2306df7847f9323428766b1a23b27bcc70 [diff] | |
parent | 019b4ab9671f9f3567966e3b1e5a31414bb7d4d3 [diff] |
Merge "audio: add Bluetooth LE Audio broadcast device"
diff --git a/services/audiopolicy/common/include/Volume.h b/services/audiopolicy/common/include/Volume.h index 736f8b2..f0636a0 100644 --- a/services/audiopolicy/common/include/Volume.h +++ b/services/audiopolicy/common/include/Volume.h
@@ -127,6 +127,7 @@ case AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES: case AUDIO_DEVICE_OUT_USB_HEADSET: case AUDIO_DEVICE_OUT_BLE_HEADSET: + case AUDIO_DEVICE_OUT_BLE_BROADCAST: return DEVICE_CATEGORY_HEADSET; case AUDIO_DEVICE_OUT_HEARING_AID: return DEVICE_CATEGORY_HEARING_AID;
diff --git a/services/audiopolicy/engine/common/src/LastRemovableMediaDevices.cpp b/services/audiopolicy/engine/common/src/LastRemovableMediaDevices.cpp index b3f8947..06cc799 100644 --- a/services/audiopolicy/engine/common/src/LastRemovableMediaDevices.cpp +++ b/services/audiopolicy/engine/common/src/LastRemovableMediaDevices.cpp
@@ -85,6 +85,7 @@ case AUDIO_DEVICE_OUT_HEARING_AID: case AUDIO_DEVICE_OUT_BLE_HEADSET: case AUDIO_DEVICE_OUT_BLE_SPEAKER: + case AUDIO_DEVICE_OUT_BLE_BROADCAST: return GROUP_BT_A2DP; default: return GROUP_NONE;