Searched refs:history_queue (Results 1 – 3 of 3) sorted by relevance
/third_party/pulseaudio/src/tests/ |
D | resampler-rewind-test.c | 232 pa_memblockq *history_queue = NULL; in main() local 369 …history_queue = pa_memblockq_new("Test-Queue", 0, MEMBLOCKQ_MAXLENGTH, 0, &a, 0, 1, samples * in_f… in main() 372 pa_memblockq_push(history_queue, &in_chunk); in main() 373 pa_memblockq_drop(history_queue, samples * in_frame_size); in main() 381 pa_memblockq_rewind(history_queue, in_rewind_size); in main() 384 pa_resampler_rewind(resampler, out_rewind_size, history_queue, history_size); in main() 429 if (history_queue) in main() 430 pa_memblockq_free(history_queue); in main()
|
/third_party/pulseaudio/src/pulsecore/ |
D | resampler.c | 670 size_t pa_resampler_prepare(pa_resampler *r, pa_memblockq *history_queue, size_t amount) { in pa_resampler_prepare() argument 676 if (!history_queue || amount == 0) in pa_resampler_prepare() 684 pa_memblockq_rewind(history_queue, amount); in pa_resampler_prepare() 696 if (pa_memblockq_peek_fixed_size(history_queue, current, &in_chunk) < 0) { in pa_resampler_prepare() 700 pa_memblockq_drop(history_queue, to_run); in pa_resampler_prepare() 715 pa_memblockq_drop(history_queue, current); in pa_resampler_prepare() 722 size_t pa_resampler_rewind(pa_resampler *r, size_t out_bytes, pa_memblockq *history_queue, size_t a… in pa_resampler_rewind() argument 727 if (r->impl.reset && !history_queue) in pa_resampler_rewind() 733 if (!history_queue) { in pa_resampler_rewind() 740 if (history_queue && amount > 0) in pa_resampler_rewind() [all …]
|
D | resampler.h | 161 size_t pa_resampler_prepare(pa_resampler *r, pa_memblockq *history_queue, size_t amount); 164 size_t pa_resampler_rewind(pa_resampler *r, size_t out_bytes, pa_memblockq *history_queue, size_t a…
|