Home
last modified time | relevance | path

Searched refs:pa_usec_to_bytes_round_up (Results 1 – 6 of 6) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dsample-util.c325 size_t pa_usec_to_bytes_round_up(pa_usec_t t, const pa_sample_spec *spec) { in pa_usec_to_bytes_round_up() function
404 return pa_usec_to_bytes_round_up(usec, to); in pa_convert_size()
Dsample-util.h75 size_t pa_usec_to_bytes_round_up(pa_usec_t t, const pa_sample_spec *spec);
Dprotocol-native.c809 …s->buffer_attr.tlength = (uint32_t) pa_usec_to_bytes_round_up(DEFAULT_TLENGTH_MSEC*PA_USEC_PER_MSE… in fix_playback_buffer_attr()
816 …uint32_t process = (uint32_t) pa_usec_to_bytes_round_up(DEFAULT_PROCESS_MSEC*PA_USEC_PER_MSEC, &s-… in fix_playback_buffer_attr()
918 if (pa_usec_to_bytes_round_up(orig_tlength_usec, &s->sink_input->sample_spec) != in fix_playback_buffer_attr()
919 pa_usec_to_bytes_round_up(tlength_usec, &s->sink_input->sample_spec)) in fix_playback_buffer_attr()
920 …s->buffer_attr.tlength = (uint32_t) pa_usec_to_bytes_round_up(tlength_usec, &s->sink_input->sample… in fix_playback_buffer_attr()
/third_party/pulseaudio/src/modules/
Dmodule-sine-source.c139 k = pa_usec_to_bytes_round_up(now + u->block_usec - u->timestamp, &u->source->sample_spec); in process_render()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c413 …u->watermark_inc_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_INC_THRESHOLD_USEC, &u->so… in reset_watermark()
414 …u->watermark_dec_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_DEC_THRESHOLD_USEC, &u->so… in reset_watermark()
Dalsa-sink.c441 …u->watermark_inc_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_INC_THRESHOLD_USEC, &u->si… in reset_watermark()
442 …u->watermark_dec_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_DEC_THRESHOLD_USEC, &u->si… in reset_watermark()