Merge "Correct the offload capability and update comment" am: 2617347b0b am: 2193542a94 am: 6687ba3b33

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1940866

Change-Id: I26717e065e99e4ad41499635edff937beace36ef
This commit is contained in:
Treehugger Robot
2022-02-09 11:19:12 +00:00
committed by Automerger Merge Worker

View File

@@ -77,9 +77,13 @@ static AudioLocation monoAudio = AudioLocation::UNKNOWN;
// Stores the supported setting of audio location, connected device, and the
// channel count for each device
std::vector<std::tuple<AudioLocation, uint8_t, uint8_t>>
supportedDeviceSetting = {std::make_tuple(stereoAudio, 2, 1),
std::make_tuple(monoAudio, 1, 2),
std::make_tuple(monoAudio, 1, 1)};
supportedDeviceSetting = {
// Stereo, two connected device, one for L one for R
std::make_tuple(stereoAudio, 2, 1),
// Stereo, one connected device for both L and R
std::make_tuple(stereoAudio, 1, 2),
// Mono
std::make_tuple(monoAudio, 1, 1)};
bool IsOffloadLeAudioConfigurationValid(
const ::android::hardware::bluetooth::audio::V2_1::SessionType&