/third_party/pulseaudio/src/modules/ |
D | module-null-source.c | 132 …pa_source_set_max_rewind_within_thread(s, pa_usec_to_bytes(u->block_usec, &u->source->sample_spec)… in source_update_requested_latency_cb() 162 …if (timer_elapsed && (chunk.length = pa_usec_to_bytes(now - u->timestamp, &u->source->sample_spec)… in thread_func() 267 pa_usec_to_bytes(u->block_usec, &u->source->sample_spec); in pa__init()
|
D | module-null-sink.c | 123 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in sink_recalculate_max_request_and_rewind() 212 in_buffer = pa_usec_to_bytes(delay, &u->sink->sample_spec); in process_rewind() 246 request_size = pa_usec_to_bytes(now + u->block_usec - u->timestamp, &u->sink->sample_spec); in process_render() 414 nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in pa__init()
|
D | module-tunnel.c | 641 bytes = - pa_usec_to_bytes(- offset, &u->sink->sample_spec); in sink_process_msg() 643 bytes = pa_usec_to_bytes(offset, &u->sink->sample_spec); in sink_process_msg() 790 bytes = - pa_usec_to_bytes(- offset, &u->source->sample_spec); in source_process_msg() 792 bytes = pa_usec_to_bytes(offset, &u->source->sample_spec); in source_process_msg() 1814 u->tlength = (uint32_t) pa_usec_to_bytes(PA_USEC_PER_MSEC * u->latency, &u->sink->sample_spec); in setup_complete_callback() 1815 … u->minreq = (uint32_t) pa_usec_to_bytes(PA_USEC_PER_MSEC * u->latency / 4, &u->sink->sample_spec); in setup_complete_callback() 1818 … u->fragsize = (uint32_t) pa_usec_to_bytes(PA_USEC_PER_MSEC * u->latency, &u->source->sample_spec); in setup_complete_callback()
|
D | module-esound-sink.c | 332 bytes = pa_usec_to_bytes(u->latency, &u->sink->sample_spec); in thread_func() 631 u->block_size = pa_usec_to_bytes(PA_USEC_PER_SEC/20, &ss); in pa__init()
|
D | module-virtual-source.c | 416 … u->skip = pa_usec_to_bytes(PA_CLIP_SUB(pa_source_get_latency_within_thread(o->source, false), in source_output_state_change_cb() 685 nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in pa__init()
|
D | module-tunnel-source-new.c | 388 bufferattr.fragsize = pa_usec_to_bytes(requested_latency, &u->source->sample_spec); in on_source_created() 447 nbytes = pa_usec_to_bytes(block_usec, &s->sample_spec); in source_update_requested_latency_cb()
|
D | module-tunnel-sink-new.c | 404 bufferattr.tlength = pa_usec_to_bytes(requested_latency, &u->sink->sample_spec); in on_sink_created() 473 nbytes = pa_usec_to_bytes(block_usec, &s->sample_spec); in sink_update_requested_latency_cb()
|
D | module-combine-sink.c | 419 … u->thread_info.counter - pa_usec_to_bytes(u->thread_info.timestamp - now, &u->sink->sample_spec)); in process_render_null() 912 max_request = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in update_max_request() 1074 latency = pa_usec_to_bytes((pa_usec_t)offset, &u->sink->sample_spec); in sink_process_msg() 1640 nbytes = pa_usec_to_bytes(BLOCK_USEC, &u->sink->sample_spec); in pa__init()
|
D | module-solaris.c | 943 u->minimum_request = pa_usec_to_bytes(PA_USEC_PER_SEC / MAX_RENDER_HZ, &ss); in pa__init() 950 u->buffer_size = pa_usec_to_bytes(1000 * buffer_length_msec, &ss); in pa__init()
|
D | module-pipe-sink.c | 176 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in sink_update_requested_latency_cb()
|
D | module-loopback.c | 723 …requested_memblockq_length = pa_usec_to_bytes(requested_buffer_latency, &u->sink_input->sample_spe… in memblockq_adjust() 1873 …pa_memblockq_seek(u->memblockq, pa_usec_to_bytes(u->latency, &u->sink_input->sample_spec), PA_SEEK… in pa__init()
|
/third_party/pulseaudio/src/pulse/ |
D | sample.h | 289 size_t pa_usec_to_bytes(pa_usec_t t, const pa_sample_spec *spec) PA_GCC_PURE;
|
D | sample.c | 86 size_t pa_usec_to_bytes(pa_usec_t t, const pa_sample_spec *spec) { in pa_usec_to_bytes() function
|
D | map-file | 378 pa_usec_to_bytes;
|
D | stream.c | 155 …s->buffer_attr.tlength = (uint32_t) pa_usec_to_bytes(250*PA_USEC_PER_MSEC, ss); /* 250ms of buffer… in pa_stream_new_with_proplist_internal() 164 …s->buffer_attr.tlength = (uint32_t) pa_usec_to_bytes(250*PA_USEC_PER_MSEC, &tmp_ss); /* 250ms of b… in pa_stream_new_with_proplist_internal() 1020 attr->tlength = pa_usec_to_bytes(ms * PA_USEC_PER_MSEC, &ss); in patch_buffer_attr() 1043 …attr->tlength = (uint32_t) pa_usec_to_bytes(250*PA_USEC_PER_MSEC, &s->sample_spec); /* 250ms of bu… in patch_buffer_attr()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-source.c | 310 u->min_sleep = pa_usec_to_bytes(TSCHED_MIN_SLEEP_USEC, &u->source->sample_spec); in fix_min_sleep_wakeup() 313 u->min_wakeup = pa_usec_to_bytes(TSCHED_MIN_WAKEUP_USEC, &u->source->sample_spec); in fix_min_sleep_wakeup() 410 … u->watermark_inc_step = pa_usec_to_bytes(TSCHED_WATERMARK_INC_STEP_USEC, &u->source->sample_spec); in reset_watermark() 411 … u->watermark_dec_step = pa_usec_to_bytes(TSCHED_WATERMARK_DEC_STEP_USEC, &u->source->sample_spec); in reset_watermark() 1019 b = pa_usec_to_bytes(latency, &u->source->sample_spec); in update_sw_params() 1041 avail_min += pa_usec_to_bytes(sleep_usec, &u->source->sample_spec) / u->frame_size; in update_sw_params() 2093 …frag_size = (uint32_t) pa_usec_to_bytes(m->core->default_fragment_size_msec*PA_USEC_PER_MSEC, &ss); in pa_alsa_source_new() 2096 tsched_size = (uint32_t) pa_usec_to_bytes(DEFAULT_TSCHED_BUFFER_USEC, &ss); in pa_alsa_source_new() 2097 tsched_watermark = (uint32_t) pa_usec_to_bytes(DEFAULT_TSCHED_WATERMARK_USEC, &ss); in pa_alsa_source_new()
|
D | alsa-sink.c | 338 u->min_sleep = pa_usec_to_bytes(TSCHED_MIN_SLEEP_USEC, &u->sink->sample_spec); in fix_min_sleep_wakeup() 341 u->min_wakeup = pa_usec_to_bytes(TSCHED_MIN_WAKEUP_USEC, &u->sink->sample_spec); in fix_min_sleep_wakeup() 438 u->watermark_inc_step = pa_usec_to_bytes(TSCHED_WATERMARK_INC_STEP_USEC, &u->sink->sample_spec); in reset_watermark() 439 u->watermark_dec_step = pa_usec_to_bytes(TSCHED_WATERMARK_DEC_STEP_USEC, &u->sink->sample_spec); in reset_watermark() 1113 b = pa_usec_to_bytes(latency, &u->sink->sample_spec); in update_sw_params() 1136 avail_min += pa_usec_to_bytes(sleep_usec, &u->sink->sample_spec) / u->frame_size; in update_sw_params() 2394 …frag_size = (uint32_t) pa_usec_to_bytes(m->core->default_fragment_size_msec*PA_USEC_PER_MSEC, &ss); in pa_alsa_sink_new() 2397 tsched_size = (uint32_t) pa_usec_to_bytes(DEFAULT_TSCHED_BUFFER_USEC, &ss); in pa_alsa_sink_new() 2398 tsched_watermark = (uint32_t) pa_usec_to_bytes(DEFAULT_TSCHED_WATERMARK_USEC, &ss); in pa_alsa_sink_new() 2429 …rewind_safeguard = PA_MAX(DEFAULT_REWIND_SAFEGUARD_BYTES, pa_usec_to_bytes(DEFAULT_REWIND_SAFEGUAR… in pa_alsa_sink_new()
|
/third_party/pulseaudio/src/tests/ |
D | interpol-test.c | 111 attr.tlength = latency > 0 ? (uint32_t) pa_usec_to_bytes(latency, &ss) : (uint32_t) -1; in context_state_callback()
|
D | resampler-test.c | 424 i.memblock = pa_memblock_new(pool, pa_usec_to_bytes(1*PA_USEC_PER_SEC, &a)); in main()
|
/third_party/pulseaudio/src/utils/ |
D | pacat.c | 473 …buffer_attr.fragsize = buffer_attr.tlength = pa_usec_to_bytes(latency_msec * PA_USEC_PER_MSEC, &sa… in context_state_callback() 482 … buffer_attr.minreq = pa_usec_to_bytes(process_time_msec * PA_USEC_PER_MSEC, &sample_spec); in context_state_callback()
|
/third_party/pulseaudio/src/modules/rtp/ |
D | module-rtp-recv.c | 565 pa_usec_to_bytes(s->intended_latency - s->sink_latency, &s->sink_input->sample_spec), in session_new()
|
/third_party/pulseaudio/src/pulsecore/ |
D | protocol-native.c | 413 …s->buffer_attr.fragsize = (uint32_t) pa_usec_to_bytes(DEFAULT_FRAGSIZE_MSEC*PA_USEC_PER_MSEC, &s->… in fix_record_buffer_attr_pre() 472 if (pa_usec_to_bytes(orig_fragsize_usec, &s->source_output->sample_spec) != in fix_record_buffer_attr_pre() 473 pa_usec_to_bytes(fragsize_usec, &s->source_output->sample_spec)) in fix_record_buffer_attr_pre() 475 …s->buffer_attr.fragsize = (uint32_t) pa_usec_to_bytes(fragsize_usec, &s->source_output->sample_spe… in fix_record_buffer_attr_pre() 922 if (pa_usec_to_bytes(orig_minreq_usec, &s->sink_input->sample_spec) != in fix_playback_buffer_attr() 923 pa_usec_to_bytes(minreq_usec, &s->sink_input->sample_spec)) in fix_playback_buffer_attr() 924 … s->buffer_attr.minreq = (uint32_t) pa_usec_to_bytes(minreq_usec, &s->sink_input->sample_spec); in fix_playback_buffer_attr()
|
/third_party/pulseaudio/src/modules/raop/ |
D | raop-sink.c | 620 position = u->write_count - pa_usec_to_bytes(u->delay, &u->sink->sample_spec); in thread_func()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
D | module-echo-cancel.c | 682 diff = pa_usec_to_bytes(-diff_time, &u->sink_input->sample_spec); in apply_diff_time() 695 diff = pa_usec_to_bytes(diff_time, &u->source_output->sample_spec); in apply_diff_time()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluez5-device.c | 1507 …bytes_to_write += pa_usec_to_bytes(pa_bytes_to_usec(n_read, &u->decoder_sample_spec), &u->encoder_… in thread_func() 1575 … size_t bytes_to_send = pa_usec_to_bytes(time_passed - audio_sent, &u->encoder_sample_spec); in thread_func()
|