Home
last modified time | relevance | path

Searched refs:delay_ns (Results 1 – 7 of 7) sorted by relevance

/system/media/audio_utils/
Decho_reference.c181 er->playback_delay = buffer->delay_ns; in echo_reference_write()
328 buffer->delay_ns, er->frames_in, buffer->frame_count); in echo_reference_read()
338 buffer->delay_ns = 0; in echo_reference_read()
384 int64_t expectedDelayNs = er->playback_delay + buffer->delay_ns - timeDiff; in echo_reference_read()
388 int32_t rsmp_delay = er->resampler->delay_ns(er->resampler); in echo_reference_read()
395 expectedDelayNs, er->playback_delay, buffer->delay_ns, timeDiff); in echo_reference_read()
466 expectedDelayNs, er->playback_delay, buffer->delay_ns, timeDiff); in echo_reference_read()
498 buffer->delay_ns = 0; in echo_reference_read()
Dresampler.c229 rsmp->itfe.delay_ns = resampler_delay_ns; in create_resampler()
/system/media/audio_utils/include/audio_utils/
Decho_reference.h29 int32_t delay_ns; // delay for this buffer (see comment below) member
Dresampler.h87 int32_t (*delay_ns)(struct resampler_itfe *resampler); member
/system/bt/audio_bluetooth_hw/
Ddevice_port_proxy.h74 bool GetPresentationPosition(uint64_t* delay_ns, uint64_t* bytes,
Ddevice_port_proxy.cc492 bool BluetoothAudioPort::GetPresentationPosition(uint64_t* delay_ns, in GetPresentationPosition() argument
500 session_type_, delay_ns, bytes, timestamp); in GetPresentationPosition()
502 … << ", cookie=" << StringPrintf("%#hx", cookie_) << ", state=" << state_ << ", delay=" << *delay_ns in GetPresentationPosition()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1359 uint64_t delay_ns = delay_report * DELAY_TO_NS; in out_get_presentation_position() local
1360 if (delay_ns > MIN_DELAY_MS * MS_TO_NS && in out_get_presentation_position()
1361 delay_ns < MAX_DELAY_MS * MS_TO_NS) { in out_get_presentation_position()
1364 timestamp->tv_nsec += delay_ns; in out_get_presentation_position()