summaryrefslogtreecommitdiff
path: root/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h
diff options
context:
space:
mode:
authorAlice Kuo <aliceypkuo@google.com>2022-07-10 23:59:18 +0800
committerAlice Kuo <aliceypkuo@google.com>2022-07-13 12:40:26 +0800
commitbd915c129c110de3b015059f51222315cea101cc (patch)
treecc8177a9f19bd33d8262d8766104e5fc52095ab4 /bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h
parent68768886bb2cae581ede1c3e23cd29c1789fadfe (diff)
Bluetooth audio hal check broadcast configuraiton for the broadcast offload
The patch contains the following changes 1. Check the broadcast audio configuration as starting broadcast offload session 2. Update audio configuration checker for broadcast offload 3. Remove the IsOffloadLeAudioConfigurationValid function that the audio configuraiton is invalid as session started, so we don't need to check it at that time Bug: 210987580 Test: start the offload broadcast stream, and check the session status Change-Id: I60b1b506051873f6d942f2febace6562634fc12a Merged-In: I60b1b506051873f6d942f2febace6562634fc12a (cherry picked from commit ee398a93f564e515051932dfd3801081426b1ae8)
Diffstat (limited to 'bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h')
-rw-r--r--bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h
index ed0598b975..e3d657b497 100644
--- a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h
+++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.h
@@ -44,9 +44,6 @@ class BluetoothAudioCodecs {
static bool IsOffloadCodecConfigurationValid(
const SessionType& session_type, const CodecConfiguration& codec_config);
- static bool IsOffloadLeAudioConfigurationValid(
- const SessionType& session_type, const LeAudioConfiguration&);
-
static std::vector<LeAudioCodecCapabilitiesSetting>
GetLeAudioOffloadCodecCapabilities(const SessionType& session_type);