summaryrefslogtreecommitdiffstats
path: root/src/polyp/stream.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-15 20:17:11 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-15 20:17:11 +0000
commit19167a1a2d9bdff5a6685f1d14dc47b2aa7dad5a (patch)
tree2ea81c7faf84264fae6411c3e255c5fa426c58fb /src/polyp/stream.h
parent9c8661c675c92c15793b1f1005816d0d0531e6cf (diff)
add notification callback which is called when new latency data becomes available
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@873 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/stream.h')
-rw-r--r--src/polyp/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/polyp/stream.h b/src/polyp/stream.h
index b6522efe..ad77d938 100644
--- a/src/polyp/stream.h
+++ b/src/polyp/stream.h
@@ -375,6 +375,9 @@ void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, voi
/** Set the callback function that is called when a buffer underflow happens. (Only for playback streams) \since 0.8 */
void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
+/** 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) \since 0.8.2 */
+void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
+
/** Pause (or resume) playback of this stream temporarily. Available on both playback and recording streams. \since 0.3 */
pa_operation* pa_stream_cork(pa_stream *s, int b, pa_stream_success_cb_t cb, void *userdata);