Home
last modified time | relevance | path

Searched refs:latency_ms (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Da2dp.c1730 uint32_t latency_ms = 0; in audio_extn_a2dp_get_encoder_latency() local
1754 latency_ms = (avsync_runtime_prop > 0) ? sbc_offset : ENCODER_LATENCY_SBC; in audio_extn_a2dp_get_encoder_latency()
1755 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_SBC : slatency_ms; in audio_extn_a2dp_get_encoder_latency()
1758 latency_ms = (avsync_runtime_prop > 0) ? aptx_offset : ENCODER_LATENCY_APTX; in audio_extn_a2dp_get_encoder_latency()
1759 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_APTX : slatency_ms; in audio_extn_a2dp_get_encoder_latency()
1762 latency_ms = (avsync_runtime_prop > 0) ? aptxhd_offset : ENCODER_LATENCY_APTX_HD; in audio_extn_a2dp_get_encoder_latency()
1763 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_APTX_HD : slatency_ms; in audio_extn_a2dp_get_encoder_latency()
1766 latency_ms = (avsync_runtime_prop > 0) ? aac_offset : ENCODER_LATENCY_AAC; in audio_extn_a2dp_get_encoder_latency()
1767 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_AAC : slatency_ms; in audio_extn_a2dp_get_encoder_latency()
1770 latency_ms = (avsync_runtime_prop > 0) ? ldac_offset : ENCODER_LATENCY_LDAC; in audio_extn_a2dp_get_encoder_latency()
[all …]
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c836 int32_t latency_ms = visu_ctxt->latency; in visualizer_command() local
838 if (latency_ms < delta_ms) { in visualizer_command()
839 latency_ms = 0; in visualizer_command()
841 latency_ms -= delta_ms; in visualizer_command()
843 const uint32_t delta_smp = context->config.inputCfg.samplingRate * latency_ms / 1000; in visualizer_command()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp721 const uint32_t latency_ms = (buffer_size_frames * 1000) / sample_rate; in out_get_latency() local
723 latency_ms, buffer_size_frames, sample_rate); in out_get_latency()
724 return latency_ms; in out_get_latency()