summaryrefslogtreecommitdiff
path: root/bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2021-12-06 15:22:03 +0100
committerJakub Pawlowski <jpawlowski@google.com>2021-12-06 22:07:06 +0100
commit8d87eb7e5316b58fd8b2df0f89e8b19c6c3d231c (patch)
treed43f5435e76dd6c47508bc3592c8ed79f148c8c7 /bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp
parent2edfc467f11543d76fd37f7a7716c8a658c01fce (diff)
Pass sink metadata to Bluetooth
When just microphone is enabled, i.e. for recording audio, we will receive just sink metadata update. Bug: 150670922 Change-Id: I795385d19e64ec5c6bc0a8549beda52da27d25a1
Diffstat (limited to 'bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp')
-rw-r--r--bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp b/bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp
index 0d918e1978..ba31d39f2c 100644
--- a/bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp
+++ b/bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp
@@ -70,7 +70,7 @@ bool A2dpSoftwareAudioProvider::isValid(const V2_1::SessionType& sessionType) {
}
Return<void> A2dpSoftwareAudioProvider::startSession(
- const sp<IBluetoothAudioPort>& hostIf,
+ const sp<V2_0::IBluetoothAudioPort>& hostIf,
const AudioConfiguration& audioConfig, startSession_cb _hidl_cb) {
/**
* Initialize the audio platform if audioConfiguration is supported.