Merge "Correct the offload capability and update comment(AIDL)" am: d6b3341e55

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

Change-Id: I322760578ac0c623cb8bc7817e441c475457d29d
This commit is contained in:
Treehugger Robot
2022-02-10 06:59:45 +00:00
committed by Automerger Merge Worker

View File

@@ -132,9 +132,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)};
template <class T>
bool BluetoothAudioCodecs::ContainedInVector(