From 13a5f4a9803b1044d73e6c7c1d55de0cf3bb282b Mon Sep 17 00:00:00 2001 From: rossb Date: Tue, 1 Feb 2011 11:18:16 +0000 Subject: [PATCH] corrected doc comment --- src/common/pa_ringbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pa_ringbuffer.c b/src/common/pa_ringbuffer.c index 282f439..4a0c45f 100644 --- a/src/common/pa_ringbuffer.c +++ b/src/common/pa_ringbuffer.c @@ -145,7 +145,7 @@ ring_buffer_size_t PaUtil_AdvanceRingBufferWriteIndex( PaUtilRingBuffer *rbuf, r ** Get address of region(s) from which we can read data. ** If the region is contiguous, size2 will be zero. ** If non-contiguous, size2 will be the size of second region. -** Returns room available to be written or elementCount, whichever is smaller. +** Returns room available to be read or elementCount, whichever is smaller. */ ring_buffer_size_t PaUtil_GetRingBufferReadRegions( PaUtilRingBuffer *rbuf, ring_buffer_size_t elementCount, void **dataPtr1, ring_buffer_size_t *sizePtr1, -- 2.43.0