summaryrefslogtreecommitdiff
path: root/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
diff options
context:
space:
mode:
authorChen Chen <cncn@google.com>2022-02-15 18:43:26 -0800
committerChen Chen <cncn@google.com>2022-02-24 18:40:27 +0000
commit0a68a920ccbf94ff86ed509aedcf29b92fdce51e (patch)
tree91f1f1c18fa29a3d9b493285c534cc7363f45a61 /bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
parent07011d9e09869b625171183c72c740cf7965a3c4 (diff)
SpatialAudio: Init codec and buffer size from startStream()
Bug: 214615268 Test: build Tag: #feature Change-Id: I26d82da0dfc82fcb6cab6b879bced8e892e8cf44
Diffstat (limited to 'bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp')
-rw-r--r--bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
index 71878286a1..e700e7e4ef 100644
--- a/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
+++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
@@ -198,7 +198,7 @@ bool BluetoothAudioSession::StartStream() {
<< " has NO session";
return false;
}
- auto hal_retval = stack_iface_->startStream();
+ auto hal_retval = stack_iface_->startStream(false);
if (!hal_retval.isOk()) {
LOG(WARNING) << __func__ << " - IBluetoothAudioPort SessionType="
<< toString(session_type_) << " failed";