summaryrefslogtreecommitdiff
path: root/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-01-21 00:43:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-01-21 00:43:42 +0000
commitaca34136be92987d92e4abe2711a516b2c4b3047 (patch)
tree0a75e381317582e2ae62a8b1793d6a3a2ba2360a /bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
parentd3e413e759091c794cb115acab44c45f3cfb37b8 (diff)
parent79c936debe32c8454b17642ed4a78982a1e6d84a (diff)
Merge "Add vendor codec type to support the vendor config and capability"
Diffstat (limited to 'bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp')
-rw-r--r--bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
index 92cd0f5b14..380732fda4 100644
--- a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
+++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
@@ -355,6 +355,7 @@ BluetoothAudioCodecs::GetA2dpOffloadCodecCapabilities(
kDefaultOffloadLc3Capability);
break;
case CodecType::UNKNOWN:
+ case CodecType::VENDOR:
codec_capability = {};
break;
}
@@ -420,6 +421,7 @@ bool BluetoothAudioCodecs::IsOffloadCodecConfigurationValid(
}
break;
case CodecType::UNKNOWN:
+ case CodecType::VENDOR:
break;
}
return false;