Home
last modified time | relevance | path

Searched refs:delay_report_ms (Results 1 – 4 of 4) sorted by relevance

/system/bt/audio_hal_interface/
Dhearing_aid_software_encoding.cc121 void SetRemoteDelay(uint16_t delay_report_ms) { in SetRemoteDelay() argument
122 LOG(INFO) << __func__ << ": delay_report=" << delay_report_ms << " msec"; in SetRemoteDelay()
123 remote_delay_report_ms_ = delay_report_ms; in SetRemoteDelay()
241 void set_remote_delay(uint16_t delay_report_ms) { in set_remote_delay() argument
243 LOG(INFO) << __func__ << ": not ready for DelayReport " << delay_report_ms in set_remote_delay()
245 remote_delay_ms = delay_report_ms; in set_remote_delay()
248 LOG(INFO) << __func__ << ": delay_report_ms=" << delay_report_ms << " ms"; in set_remote_delay()
249 hearing_aid_sink->SetRemoteDelay(delay_report_ms); in set_remote_delay()
Dhearing_aid_software_encoding.h45 void set_remote_delay(uint16_t delay_report_ms);
/system/bt/audio_bluetooth_hw/
Dstream_apis.cc60 uint64_t delay_report_ms = 0; in out_calculate_feeding_delay_ms() local
71 delay_report_ms = delay_report_ns / 1000000; in out_calculate_feeding_delay_ms()
75 if (delay_report_ms > kMinimumDelayMs && in out_calculate_feeding_delay_ms()
76 delay_report_ms < kMaximumDelayMs) { in out_calculate_feeding_delay_ms()
78 } else if (delay_report_ms >= kMaximumDelayMs) { in out_calculate_feeding_delay_ms()
89 delay_report_ms = in out_calculate_feeding_delay_ms()
95 << " uses the legacy delay " << delay_report_ms << " ms"; in out_calculate_feeding_delay_ms()
98 << ", delay=" << delay_report_ms << "ms, data=" << absorbed_bytes in out_calculate_feeding_delay_ms()
103 *latency_ms = delay_report_ms; in out_calculate_feeding_delay_ms()
106 const uint64_t latency_frames = delay_report_ms * out->sample_rate_ / 1000; in out_calculate_feeding_delay_ms()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc1001 uint16_t delay_report_ms = 0; in StartSendingAudio() local
1003 delay_report_ms = in StartSendingAudio()
1008 HearingAidAudioSource::Start(codec, audioReceiver, delay_report_ms); in StartSendingAudio()