Searched refs:latency_ms (Results 1 – 3 of 3) sorted by relevance
1729 uint32_t latency_ms = 0; in audio_extn_a2dp_get_encoder_latency() local1753 latency_ms = (avsync_runtime_prop > 0) ? sbc_offset : ENCODER_LATENCY_SBC; in audio_extn_a2dp_get_encoder_latency()1754 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_SBC : slatency_ms; in audio_extn_a2dp_get_encoder_latency()1757 latency_ms = (avsync_runtime_prop > 0) ? aptx_offset : ENCODER_LATENCY_APTX; in audio_extn_a2dp_get_encoder_latency()1758 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_APTX : slatency_ms; in audio_extn_a2dp_get_encoder_latency()1761 latency_ms = (avsync_runtime_prop > 0) ? aptxhd_offset : ENCODER_LATENCY_APTX_HD; in audio_extn_a2dp_get_encoder_latency()1762 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_APTX_HD : slatency_ms; in audio_extn_a2dp_get_encoder_latency()1765 latency_ms = (avsync_runtime_prop > 0) ? aac_offset : ENCODER_LATENCY_AAC; in audio_extn_a2dp_get_encoder_latency()1766 latency_ms += (slatency_ms == 0) ? DEFAULT_SINK_LATENCY_AAC : slatency_ms; in audio_extn_a2dp_get_encoder_latency()1769 latency_ms = (avsync_runtime_prop > 0) ? ldac_offset : ENCODER_LATENCY_LDAC; in audio_extn_a2dp_get_encoder_latency()[all …]
836 int32_t latency_ms = visu_ctxt->latency; in visualizer_command() local838 latency_ms -= delta_ms; in visualizer_command()839 if (latency_ms < 0) { in visualizer_command()840 latency_ms = 0; in visualizer_command()842 const uint32_t delta_smp = context->config.inputCfg.samplingRate * latency_ms / 1000; in visualizer_command()
770 const uint32_t latency_ms = (buffer_size_frames * 1000) / sample_rate; in audio_config_compare() local772 latency_ms, buffer_size_frames, sample_rate); in audio_config_compare()773 return latency_ms; in audio_config_compare()