diff options
author | Patty <plhuang@google.com> | 2022-04-08 11:53:04 +0800 |
---|---|---|
committer | Patty Huang <plhuang@google.com> | 2022-08-09 10:44:07 +0800 |
commit | 039e85a385270d57fbdb85c189a445ac84f40713 (patch) | |
tree | d2b70300e8fc5c1c3c5a022d8d3a9399255da17d | |
parent | cc4486f9742b14bb5e16c4ee40b64e021b7c2802 (diff) |
le_audio_offload: Support two sources for conversational
Tag: #feature
Bug: 241775706
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d
Merged-In: I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d
(cherry picked from commit 51f165b314fb40b6a58007a81e707734a211f11f)
-rw-r--r-- | bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp index d5e85b8e93..036d6cd60e 100644 --- a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp +++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp @@ -491,11 +491,18 @@ BluetoothAudioCodecs::GetLeAudioOffloadCodecCapabilities( .broadcastCapability = kInvalidBroadcastCapability}); // Adds the capability for the case that encode and decode exist at the - // same time + // same time(force one active device for decode) kDefaultOffloadLeAudioCapabilities.push_back( {.unicastEncodeCapability = lc3Capability, .unicastDecodeCapability = lc3MonoDecodeCapability, .broadcastCapability = kInvalidBroadcastCapability}); + + // Adds the capability for the case that encode and decode exist at the + // same time + kDefaultOffloadLeAudioCapabilities.push_back( + {.unicastEncodeCapability = lc3Capability, + .unicastDecodeCapability = lc3Capability, + .broadcastCapability = kInvalidBroadcastCapability}); } } } |