diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-02-10 06:43:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-02-10 06:43:43 +0000 |
commit | d6b3341e55f9209423259ddc01a28005755c150e (patch) | |
tree | 9418f96284e7e3a9bd10a0d26384bc62c6f63b96 /bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp | |
parent | b8e8c57ac6be947e1158984d09d3480ea65bbdb0 (diff) | |
parent | 03cbe7182dd677219014733a086d9a0b8f99be7c (diff) |
Merge "Correct the offload capability and update comment(AIDL)"
Diffstat (limited to 'bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp')
-rw-r--r-- | bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp index a8d881775f..a6fd798d97 100644 --- a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp +++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp @@ -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( |