summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-simple.c')
-rw-r--r--polyp/polyplib-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/polyplib-simple.c b/polyp/polyplib-simple.c
index 9e111e2a..0e180af0 100644
--- a/polyp/polyplib-simple.c
+++ b/polyp/polyplib-simple.c
@@ -341,7 +341,7 @@ pa_usec_t pa_simple_get_playback_latency(struct pa_simple *p, int *perror) {
}
p->latency = 0;
- o = pa_stream_get_latency(p->stream, latency_complete, p);
+ o = pa_stream_get_latency_info(p->stream, latency_complete, p);
while (pa_operation_get_state(o) == PA_OPERATION_RUNNING) {