[pulseaudio-discuss] [PATCH 2/2] doc: Fix pa_stream_set_latency_update_callback() documentation

Peter Meerwald pmeerw at pmeerw.net
Thu Mar 6 01:45:33 PST 2014


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

the latency_update callback is supported on playback AND record
streams

Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 src/pulse/stream.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index 47e0c68..7ceb569 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -628,7 +628,7 @@ void pa_stream_set_started_callback(pa_stream *p, pa_stream_notify_cb_t cb, void
 
 /** Set the callback function that is called whenever a latency
  * information update happens. Useful on PA_STREAM_AUTO_TIMING_UPDATE
- * streams only. (Only for playback streams) */
+ * streams only. */
 void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
 
 /** Set the callback function that is called whenever the stream is
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list