[pulseaudio-discuss] [PATCH] core: fix comments
Peter Meerwald
pmeerw at pmeerw.net
Fri Apr 6 06:06:27 PDT 2012
From: Peter Meerwald <p.meerwald at bct-electronic.com>
---
src/pulsecore/memblock.c | 4 ++--
src/pulsecore/memchunk.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c
index f228817..e30ded8 100644
--- a/src/pulsecore/memblock.c
+++ b/src/pulsecore/memblock.c
@@ -518,8 +518,8 @@ static void memblock_free(pa_memblock *b) {
case PA_MEMBLOCK_APPENDED:
- /* We could attached it unused_memblocks, but that would
- * probably waste some considerable memory */
+ /* We could attach it to unused_memblocks, but that would
+ * probably waste some considerable amount of memory */
pa_xfree(b);
break;
diff --git a/src/pulsecore/memchunk.h b/src/pulsecore/memchunk.h
index f9e56be..217f92d 100644
--- a/src/pulsecore/memchunk.h
+++ b/src/pulsecore/memchunk.h
@@ -34,7 +34,7 @@ typedef struct pa_memchunk {
} 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
+ * exclusive access to the memblock and it is not read-only. If needed
* 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. */
--
1.7.4.1
More information about the pulseaudio-discuss
mailing list