From 5db0fbd95ec8790cd1a133bb57f701c5c9f970c0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 9 Nov 2014 11:45:04 +0100 Subject: audio/out: consistently use double return type for get_delay ao_get_delay() returns double, but the get_delay callback still returned float. --- audio/out/pull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/pull.c') diff --git a/audio/out/pull.c b/audio/out/pull.c index 002b74fed6..f559e7d7ea 100644 --- a/audio/out/pull.c +++ b/audio/out/pull.c @@ -147,7 +147,7 @@ static int control(struct ao *ao, enum aocontrol cmd, void *arg) // it takes until the last sample in the buffer reaches the speakers. This is // used for audio/video synchronization, so it's very important to implement // this correctly. -static float get_delay(struct ao *ao) +static double get_delay(struct ao *ao) { struct ao_pull_state *p = ao->api_priv; -- cgit v1.2.3