diff options
Diffstat (limited to 'system/audio_hal_interface/a2dp_encoding.cc')
-rw-r--r-- | system/audio_hal_interface/a2dp_encoding.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/system/audio_hal_interface/a2dp_encoding.cc b/system/audio_hal_interface/a2dp_encoding.cc index 854abfdb1e..d0028e1ef9 100644 --- a/system/audio_hal_interface/a2dp_encoding.cc +++ b/system/audio_hal_interface/a2dp_encoding.cc @@ -138,13 +138,11 @@ void set_remote_delay(uint16_t delay_report) { } // Set low latency buffer mode allowed or disallowed -bool set_audio_low_latency_mode_allowed(bool allowed){ +void set_audio_low_latency_mode_allowed(bool allowed) { if (HalVersionManager::GetHalTransport() == - BluetoothAudioHalTransport::HIDL) { - hidl::a2dp::set_low_latency_mode_allowed(allowed); - return true; + BluetoothAudioHalTransport::AIDL) { + aidl::a2dp::set_low_latency_mode_allowed(allowed); } - return false; } } // namespace a2dp |