--- src/pulsecore/memblockq.c | 2 +- src/pulsecore/memblockq.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pulsecore/memblockq.c b/src/pulsecore/memblockq.c index 2b79455..4eeb4d6 100644 --- a/src/pulsecore/memblockq.c +++ b/src/pulsecore/memblockq.c @@ -930,8 +930,8 @@ void pa_memblockq_apply_attr(pa_memblockq *bq, const pa_buffer_attr *a) { pa_memblockq_set_maxlength(bq, a->maxlength); pa_memblockq_set_tlength(bq, a->tlength); - pa_memblockq_set_prebuf(bq, a->prebuf); pa_memblockq_set_minreq(bq, a->minreq); + pa_memblockq_set_prebuf(bq, a->prebuf); } void pa_memblockq_get_attr(pa_memblockq *bq, pa_buffer_attr *a) { diff --git a/src/pulsecore/memblockq.h b/src/pulsecore/memblockq.h index 08c0bf0..83a5415 100644 --- a/src/pulsecore/memblockq.h +++ b/src/pulsecore/memblockq.h @@ -164,8 +164,8 @@ int64_t pa_memblockq_get_write_index(pa_memblockq *bq); /* Change metrics. Always call in order. */ void pa_memblockq_set_maxlength(pa_memblockq *memblockq, size_t maxlength); /* might modify tlength, prebuf, minreq too */ void pa_memblockq_set_tlength(pa_memblockq *memblockq, size_t tlength); /* might modify minreq, too */ -void pa_memblockq_set_prebuf(pa_memblockq *memblockq, size_t prebuf); /* might modify minreq, too */ -void pa_memblockq_set_minreq(pa_memblockq *memblockq, size_t minreq); +void pa_memblockq_set_minreq(pa_memblockq *memblockq, size_t minreq); /* might modify prebuf, too */ +void pa_memblockq_set_prebuf(pa_memblockq *memblockq, size_t prebuf); void pa_memblockq_set_maxrewind(pa_memblockq *memblockq, size_t maxrewind); /* Set the maximum history size */ void pa_memblockq_set_silence(pa_memblockq *memblockq, pa_memchunk *silence); -- 1.7.10