Lines Matching refs:pool
127 static pa_memblock* generate_block(pa_mempool *pool, const pa_sample_spec *ss) {
132 pa_assert_se(r = pa_memblock_new(pool, pa_frame_size(ss) * 10));
300 pa_mempool *pool = NULL;
407 pa_assert_se(pool = pa_mempool_new(PA_MEM_TYPE_PRIVATE, 0, true));
421 pa_assert_se(resampler = pa_resampler_new(pool, &a, NULL, &b, NULL, crossover_freq, method, 0));
424 i.memblock = pa_memblock_new(pool, pa_usec_to_bytes(1*PA_USEC_PER_SEC, &a));
452 pa_assert_se(forth = pa_resampler_new(pool, &a, NULL, &b, NULL, crossover_freq, method, 0));
453 pa_assert_se(back = pa_resampler_new(pool, &b, NULL, &a, NULL, crossover_freq, method, 0));
455 i.memblock = generate_block(pool, &a);
475 if (pool)
476 pa_mempool_unref(pool);