/third_party/pulseaudio/src/pulsecore/filter/ |
D | biquad.c | 43 cutoff = PA_MIN(cutoff, 1.0); in biquad_lowpass() 75 cutoff = PA_MIN(cutoff, 1.0); in biquad_highpass()
|
/third_party/pulseaudio/src/utils/ |
D | pacmd.c | 186 ibuf_size = PA_MIN(buf_size, pa_pipe_buf(STDIN_FILENO)); in main() 188 obuf_size = PA_MIN(buf_size, pa_pipe_buf(STDOUT_FILENO)); in main() 197 k = PA_MIN(ibuf_size - ibuf_length, strlen(argv[i])); in main()
|
/third_party/pulseaudio/src/pulsecore/ |
D | macro.h | 82 #define PA_MIN(a,b) \ macro 89 #define PA_MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
D | srbchannel.c | 67 *count = PA_MIN(r->capacity - r->writeindex, r->capacity - c); in pa_ringbuffer_begin_write() 246 capacity = PA_MIN(capacity, srh->writebuf_offset - srh->readbuf_offset); in pa_srbchannel_new()
|
D | play-memblockq.c | 142 chunk->length = PA_MIN(chunk->length, nbytes); in sink_input_pop_cb()
|
D | sound-file-stream.c | 155 chunk->length = PA_MIN(chunk->length, length); in sink_input_pop_cb()
|
D | sample-util.c | 187 length = PA_MIN(pa_mempool_block_size_max(pool), PA_SILENCE_MAX); in silence_memblock_new()
|
D | memblockq.c | 575 tchunk.length = PA_MIN(tchunk.length, (size_t) (item->index - ri)); in pa_memblockq_peek_fixed_size() 591 rchunk.length = tchunk.length = PA_MIN(tchunk.length, block_size - rchunk.index); in pa_memblockq_peek_fixed_size()
|
/third_party/pulseaudio/src/tests/ |
D | resampler-rewind-test.c | 54 length = PA_MIN(pa_mempool_block_size_max(pool), PA_SILENCE_MAX); in silence_memblock_new() 114 history_frames = PA_MIN((size_t)(delay * 2.5), history_max); in calculate_resampler_history_bytes()
|
D | connect-stress.c | 129 int n = PA_MIN(sizeof(silence), nbytes); in stream_write_callback()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-sink.c | 370 …u->tsched_watermark = PA_MIN(u->tsched_watermark * 2, u->tsched_watermark + u->watermark_inc_step); in increase_watermark() 386 new_min_latency = PA_MIN(old_min_latency * 2, old_min_latency + TSCHED_WATERMARK_INC_STEP_USEC); in increase_watermark() 387 new_min_latency = PA_MIN(new_min_latency, u->sink->thread_info.max_latency); in increase_watermark() 734 frames = PA_MIN(frames, u->frames_per_block); in mmap_write() 803 *sleep_usec = PA_MIN(*sleep_usec, underrun_sleep); in mmap_write() 967 *sleep_usec = PA_MIN(*sleep_usec, underrun_sleep); in unix_write() 1023 u->smoother_interval = PA_MIN (u->smoother_interval * 2, SMOOTHER_MAX_INTERVAL); in update_smoother() 2060 rtpoll_sleep = PA_MIN(sleep_usec, cusec); in thread_func() 2072 rtpoll_sleep = PA_MIN(volume_sleep, rtpoll_sleep); in thread_func()
|
D | alsa-source.c | 342 …u->tsched_watermark = PA_MIN(u->tsched_watermark * 2, u->tsched_watermark + u->watermark_inc_step); in increase_watermark() 358 new_min_latency = PA_MIN(old_min_latency * 2, old_min_latency + TSCHED_WATERMARK_INC_STEP_USEC); in increase_watermark() 359 new_min_latency = PA_MIN(new_min_latency, u->source->thread_info.max_latency); in increase_watermark() 690 frames = PA_MIN(frames, u->frames_per_block); in mmap_read() 947 u->smoother_interval = PA_MIN (u->smoother_interval * 2, SMOOTHER_MAX_INTERVAL); in update_smoother() 1767 rtpoll_sleep = PA_MIN(sleep_usec, cusec); in thread_func() 1776 rtpoll_sleep = PA_MIN(volume_sleep, rtpoll_sleep); in thread_func()
|
/third_party/pulseaudio/src/pulse/ |
D | volume.c | 480 dest->channels = PA_MIN(a->channels, b->channels); in pa_sw_cvolume_multiply() 515 dest->channels = PA_MIN(a->channels, b->channels); in pa_sw_cvolume_divide() 945 dest->channels = PA_MIN(a->channels, b->channels); in pa_cvolume_merge()
|
D | ohos_pa_volume.c | 496 dest->channels = PA_MIN(a->channels, b->channels); in pa_sw_cvolume_multiply() 531 dest->channels = PA_MIN(a->channels, b->channels); in pa_sw_cvolume_divide() 961 dest->channels = PA_MIN(a->channels, b->channels); in pa_cvolume_merge()
|
/third_party/pulseaudio/src/modules/ |
D | module-virtual-sink.c | 244 tchunk.length = PA_MIN(nbytes, tchunk.length); in sink_input_pop_cb() 303 amount = PA_MIN(u->sink->thread_info.rewind_nbytes, max_rewrite); in sink_input_process_rewind_cb()
|
D | module-solaris.c | 651 rewind_nbytes = PA_MIN(u->memchunk.length, rewind_nbytes); in process_rewind() 739 len = PA_MIN(u->memchunk.length, len); in thread_func() 773 … pa_rtpoll_set_timer_absolute(u->rtpoll, xtime0 + PA_MIN(xsleep_interval, ysleep_interval)); in thread_func()
|
D | module-null-source.c | 164 chunk.length = PA_MIN(max_block_size, chunk.length); in thread_func()
|
D | module-sine-source.c | 143 chunk.length = PA_MIN(chunk.length - u->peek_index, k); in process_render()
|
D | module-ladspa-sink.c | 491 tchunk.length = PA_MIN(nbytes, tchunk.length); in sink_input_pop_cb() 495 n = (unsigned) (PA_MIN(tchunk.length, u->block_size) / fs); in sink_input_pop_cb() 540 amount = PA_MIN(u->sink->thread_info.rewind_nbytes, max_rewrite); in sink_input_process_rewind_cb()
|
D | module-equalizer-sink.c | 530 tchunk.length = PA_MIN((u->output_buffer_length - i), mbs); in flatten_to_memblockq() 664 pa_sink_render_full(u->sink, PA_MIN(input_remaining * fs, mbs), &tchunk); in sink_input_pop_cb() 670 tchunk.length = PA_MIN(input_remaining * fs, tchunk.length); in sink_input_pop_cb() 760 amount = PA_MIN(u->sink->thread_info.rewind_nbytes, max_rewrite); in sink_input_process_rewind_cb() 1051 n_profs = PA_MIN(n_profs, u->channels); in load_state()
|
D | module-null-sink.c | 247 request_size = PA_MIN(request_size, u->sink->thread_info.max_request); in process_render()
|
D | module-remap-sink.c | 199 amount = PA_MIN(u->sink->thread_info.rewind_nbytes, nbytes); in sink_input_process_rewind_cb()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | backend-ofono.c | 95 write_mtu = PA_MIN(t->last_read_size, write_mtu); in sco_transport_write() 103 write_size = PA_MIN(size - written, write_mtu); in sco_transport_write()
|
D | a2dp-codec-sbc.c | 520 …config->max_bitpool = (uint8_t) PA_MIN(default_bitpool(config->frequency, config->channel_mode), c… in fill_preferred_configuration() 772 bitpool = PA_MIN(sbc_info->sbc.bitpool + SBC_BITPOOL_INC_STEP, sbc_info->max_bitpool); in increase_encoder_bitrate()
|
D | backend-native.c | 396 write_mtu = PA_MIN(t->last_read_size, write_mtu); in sco_transport_write() 404 write_size = PA_MIN(size - written, write_mtu); in sco_transport_write()
|