Loading system/audio_hal_interface/a2dp_encoding_host.cc +2 −0 Original line number Diff line number Diff line Loading @@ -242,6 +242,8 @@ void end_session() { // Reset remote delay. New value will be set when new session starts. remote_delay_report_ = 0; a2dp_pending_cmd_ = A2DP_CTRL_CMD_NONE; } void set_audio_low_latency_mode_allowed(bool allowed){ Loading system/gd/rust/linux/stack/src/bluetooth_media.rs +5 −0 Original line number Diff line number Diff line Loading @@ -751,6 +751,11 @@ impl IBluetoothMedia for BluetoothMedia { } fn stop_audio_request(&mut self) { if !self.a2dp_audio_state.values().any(|state| *state == BtavAudioState::Started) { info!("No active stream on A2DP device, ignoring request to stop audio."); return; } match self.a2dp.as_mut() { Some(a2dp) => a2dp.stop_audio_request(), None => warn!("Uninitialized A2DP to stop audio request"), Loading Loading
system/audio_hal_interface/a2dp_encoding_host.cc +2 −0 Original line number Diff line number Diff line Loading @@ -242,6 +242,8 @@ void end_session() { // Reset remote delay. New value will be set when new session starts. remote_delay_report_ = 0; a2dp_pending_cmd_ = A2DP_CTRL_CMD_NONE; } void set_audio_low_latency_mode_allowed(bool allowed){ Loading
system/gd/rust/linux/stack/src/bluetooth_media.rs +5 −0 Original line number Diff line number Diff line Loading @@ -751,6 +751,11 @@ impl IBluetoothMedia for BluetoothMedia { } fn stop_audio_request(&mut self) { if !self.a2dp_audio_state.values().any(|state| *state == BtavAudioState::Started) { info!("No active stream on A2DP device, ignoring request to stop audio."); return; } match self.a2dp.as_mut() { Some(a2dp) => a2dp.stop_audio_request(), None => warn!("Uninitialized A2DP to stop audio request"), Loading