From: Lennart Poettering Date: Wed, 25 Jun 2008 22:36:05 +0000 (+0200) Subject: comment two functions in memblockq.c X-Git-Tag: 1.0_branch~2753 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fccac94e737a760c12fb82e5cd4a82362c17a24;p=profile%2Fivi%2Fpulseaudio.git comment two functions in memblockq.c --- diff --git a/src/pulsecore/memblockq.h b/src/pulsecore/memblockq.h index 81f7cbb..ad3eea4 100644 --- a/src/pulsecore/memblockq.h +++ b/src/pulsecore/memblockq.h @@ -160,11 +160,13 @@ void pa_memblockq_willneed(pa_memblockq *bq); * data for the future nor data in the backlog. */ pa_bool_t pa_memblockq_is_empty(pa_memblockq *bq); +/* Drop everything in the queue, but don't modify the indexes */ void pa_memblockq_silence(pa_memblockq *bq); /* Check whether we currently are in prebuf state */ pa_bool_t pa_memblockq_prebuf_active(pa_memblockq *bq); +/* Return how many items are currently stored in the queue */ unsigned pa_memblockq_get_nblocks(pa_memblockq *bq); size_t pa_memblockq_get_base(pa_memblockq *bq);