[pulseaudio-commits] r1790 - /branches/lennart/src/pulsecore/memchunk.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Sep 10 13:55:46 PDT 2007


Author: lennart
Date: Mon Sep 10 22:55:46 2007
New Revision: 1790

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1790&root=pulseaudio&view=rev
Log:
beef up comment

Modified:
    branches/lennart/src/pulsecore/memchunk.h

Modified: branches/lennart/src/pulsecore/memchunk.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/memchunk.h?rev=1790&root=pulseaudio&r1=1789&r2=1790&view=diff
==============================================================================
--- branches/lennart/src/pulsecore/memchunk.h (original)
+++ branches/lennart/src/pulsecore/memchunk.h Mon Sep 10 22:55:46 2007
@@ -37,7 +37,9 @@
 
 /* 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,




More information about the pulseaudio-commits mailing list