summaryrefslogtreecommitdiffstats
path: root/libao2/ao_polyp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_polyp.c')
-rw-r--r--libao2/ao_polyp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_polyp.c b/libao2/ao_polyp.c
index 7ba940d6b4..22239762a2 100644
--- a/libao2/ao_polyp.c
+++ b/libao2/ao_polyp.c
@@ -246,8 +246,8 @@ static int get_space(void) {
/** Return the current latency in seconds */
static float get_delay(void) {
- assert(stream && context && pa_stream_get_state(stream) == PA_STREAM_READY);
pa_usec_t latency;
+ assert(stream && context && pa_stream_get_state(stream) == PA_STREAM_READY);
/* latency = 0; */
/* wait_for_operation(pa_stream_get_latency(stream, latency_func, NULL)); */