summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-simple.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-12 19:37:04 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-12 19:37:04 +0000
commitb772564a4eeab6d32ba9b7be9fb9beed1c12c999 (patch)
treef9a00e7c5d253cfdbfdc12edbfb7d31efce168f3 /polyp/polyplib-simple.h
parentf05a4ac806d8d44ab1377ea2069abb1da7ab9d16 (diff)
update simple API
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@193 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-simple.h')
-rw-r--r--polyp/polyplib-simple.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/polyp/polyplib-simple.h b/polyp/polyplib-simple.h
index ed552cb4..b37bdec6 100644
--- a/polyp/polyplib-simple.h
+++ b/polyp/polyplib-simple.h
@@ -69,6 +69,12 @@ int pa_simple_drain(struct pa_simple *s, int *error);
/** Read some data from the server */
int pa_simple_read(struct pa_simple *s, void*data, size_t length, int *error);
+/** Return the playback latency. \since 0.5 */
+pa_usec_t pa_simple_get_playback_latency(struct pa_simple *s, int *perror);
+
+/** Flush the playback buffer. \since 0.5 */
+int pa_simple_flush(struct pa_simple *s, int *perror);
+
PA_C_DECL_END
#endif