Searched refs:pa_usec_to_bytes_round_up (Results 1 - 6 of 6) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
H A D | sample-util.h | 75 size_t pa_usec_to_bytes_round_up(pa_usec_t t, const pa_sample_spec *spec);
|
H A D | sample-util.c | 325 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()
|
H A D | protocol-native.c | 658 s->buffer_attr.tlength = (uint32_t) pa_usec_to_bytes_round_up(DEFAULT_TLENGTH_MSEC*PA_USEC_PER_MSEC, &s->sink_input->sample_spec); in fix_playback_buffer_attr() 665 uint32_t process = (uint32_t) pa_usec_to_bytes_round_up(DEFAULT_PROCESS_MSEC*PA_USEC_PER_MSEC, &s->sink_input->sample_spec); in fix_playback_buffer_attr() 767 if (pa_usec_to_bytes_round_up(orig_tlength_usec, &s->sink_input->sample_spec) != in fix_playback_buffer_attr() 768 pa_usec_to_bytes_round_up(tlength_usec, &s->sink_input->sample_spec)) in fix_playback_buffer_attr() 769 s->buffer_attr.tlength = (uint32_t) pa_usec_to_bytes_round_up(tlength_usec, &s->sink_input->sample_spec); in fix_playback_buffer_attr()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-sine-source.c | 139 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/ |
H A D | alsa-sink.c | 441 u->watermark_inc_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_INC_THRESHOLD_USEC, &u->sink->sample_spec); in reset_watermark() 442 u->watermark_dec_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_DEC_THRESHOLD_USEC, &u->sink->sample_spec); in reset_watermark()
|
H A D | alsa-source.c | 413 u->watermark_inc_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_INC_THRESHOLD_USEC, &u->source->sample_spec); in reset_watermark() 414 u->watermark_dec_threshold = pa_usec_to_bytes_round_up(TSCHED_WATERMARK_DEC_THRESHOLD_USEC, &u->source->sample_spec); in reset_watermark()
|
Completed in 16 milliseconds