projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec10f5f
)
comment two functions in memblockq.c
author
Lennart Poettering
<lennart@poettering.net>
Wed, 25 Jun 2008 22:36:05 +0000
(
00:36
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 25 Jun 2008 22:36:05 +0000
(
00:36
+0200)
src/pulsecore/memblockq.h
patch
|
blob
|
history
diff --git
a/src/pulsecore/memblockq.h
b/src/pulsecore/memblockq.h
index
81f7cbb
..
ad3eea4
100644
(file)
--- 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);