[pulseaudio-discuss] [PATCH] def.h: document that pa_buffer_attr.maxlength is in bytes, fixes https://bugs.freedesktop.org/show_bug.cgi?id=42919

Peter Meerwald pmeerw at pmeerw.net
Sun Dec 11 07:07:39 PST 2011


From: Peter Meerwald <p.meerwald at bct-electronic.com>

---
 src/pulse/def.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pulse/def.h b/src/pulse/def.h
index ca74dfc..98d3651 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -339,7 +339,7 @@ typedef enum pa_stream_flags {
 /** Playback and record buffer metrics */
 typedef struct pa_buffer_attr {
     uint32_t maxlength;
-    /**< Maximum length of the buffer. Setting this to (uint32_t) -1
+    /**< Maximum length of the buffer in bytes. Setting this to (uint32_t) -1
      * will initialize this to the maximum value supported by server,
      * which is recommended. */
 
-- 
1.7.4.1



More information about the pulseaudio-discuss mailing list