diff options
author | wm4 <wm4@nowhere> | 2014-11-09 11:45:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-09 11:45:04 +0100 |
commit | 5db0fbd95ec8790cd1a133bb57f701c5c9f970c0 (patch) | |
tree | f7a6d9a3c7dc656107ea440c47fefef563313125 /audio/out/push.c | |
parent | 3d7d1f3f264e55857c83b8a94aa24081ae45dd4d (diff) | |
download | mpv-5db0fbd95ec8790cd1a133bb57f701c5c9f970c0.tar.bz2 mpv-5db0fbd95ec8790cd1a133bb57f701c5c9f970c0.tar.xz |
audio/out: consistently use double return type for get_delay
ao_get_delay() returns double, but the get_delay callback still
returned float.
Diffstat (limited to 'audio/out/push.c')
-rw-r--r-- | audio/out/push.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/out/push.c b/audio/out/push.c index 5872b01913..5bbc7d808f 100644 --- a/audio/out/push.c +++ b/audio/out/push.c @@ -93,11 +93,11 @@ static double unlocked_get_delay(struct ao *ao) return driver_delay + mp_audio_buffer_seconds(p->buffer); } -static float get_delay(struct ao *ao) +static double get_delay(struct ao *ao) { struct ao_push_state *p = ao->api_priv; pthread_mutex_lock(&p->lock); - float delay = unlocked_get_delay(ao); + double delay = unlocked_get_delay(ao); pthread_mutex_unlock(&p->lock); return delay; } |