diff options
Diffstat (limited to 'bluetooth/audio/aidl/default/LeAudioSoftwareAudioProvider.cpp')
-rw-r--r-- | bluetooth/audio/aidl/default/LeAudioSoftwareAudioProvider.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bluetooth/audio/aidl/default/LeAudioSoftwareAudioProvider.cpp b/bluetooth/audio/aidl/default/LeAudioSoftwareAudioProvider.cpp index 1f64b43920..911c9282eb 100644 --- a/bluetooth/audio/aidl/default/LeAudioSoftwareAudioProvider.cpp +++ b/bluetooth/audio/aidl/default/LeAudioSoftwareAudioProvider.cpp @@ -70,9 +70,7 @@ bool LeAudioSoftwareAudioProvider::isValid(const SessionType& sessionType) { ndk::ScopedAStatus LeAudioSoftwareAudioProvider::startSession( const std::shared_ptr<IBluetoothAudioPort>& host_if, const AudioConfiguration& audio_config, - const std::vector<LatencyMode>& latency_modes, - DataMQDesc* _aidl_return) { - latency_modes_ = latency_modes; + const std::vector<LatencyMode>& latency_modes, DataMQDesc* _aidl_return) { if (audio_config.getTag() != AudioConfiguration::pcmConfig) { LOG(WARNING) << __func__ << " - Invalid Audio Configuration=" << audio_config.toString(); @@ -134,8 +132,8 @@ ndk::ScopedAStatus LeAudioSoftwareAudioProvider::onSessionReady( } *_aidl_return = data_mq_->dupeDesc(); auto desc = data_mq_->dupeDesc(); - BluetoothAudioSessionReport::OnSessionStarted(session_type_, stack_iface_, - &desc, *audio_config_); + BluetoothAudioSessionReport::OnSessionStarted( + session_type_, stack_iface_, &desc, *audio_config_, latency_modes_); return ndk::ScopedAStatus::ok(); } @@ -143,4 +141,4 @@ ndk::ScopedAStatus LeAudioSoftwareAudioProvider::onSessionReady( } // namespace bluetooth } // namespace hardware } // namespace android -} // namespace aidl
\ No newline at end of file +} // namespace aidl |