summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-10 20:55:46 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-10 20:55:46 +0000
commit841fcb4557fcb22d569733648be4dcf035a1fa9a (patch)
treeeba481561cfda19770feb43f38c21780cbc01ccf
parent98f9bd62a6aab266495ef02aa49b0903f0989896 (diff)
beef up comment
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1790 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/pulsecore/memchunk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/memchunk.h b/src/pulsecore/memchunk.h
index 99498d07..e6105ace 100644
--- a/src/pulsecore/memchunk.h
+++ b/src/pulsecore/memchunk.h
@@ -37,7 +37,9 @@ typedef struct pa_memchunk {
/* Make a memchunk writable, i.e. make sure that the caller may have
* exclusive access to the memblock and it is not read_only. If needed
- * the memblock in the structure is replaced by a copy. */
+ * the memblock in the structure is replaced by a copy. If min is not
+ * 0 it is made sure that the returned memblock is at least of the
+ * specified size, i.e. is enlarged if necessary. */
pa_memchunk* pa_memchunk_make_writable(pa_memchunk *c, size_t min);
/* Invalidate a memchunk. This does not free the cotaining memblock,