]> code.delx.au - pulseaudio/commitdiff
comment two functions in memblockq.c
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Jun 2008 22:36:05 +0000 (00:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Jun 2008 22:36:05 +0000 (00:36 +0200)
src/pulsecore/memblockq.h

index 81f7cbb8a7033416c7f4448fe09b157e98555158..ad3eea493f54c695cb11a3de4be9b7286a171b98 100644 (file)
@@ -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);