summaryrefslogtreecommitdiffstats
path: root/audio/out/internal.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-09 11:45:04 +0100
committerwm4 <wm4@nowhere>2014-11-09 11:45:04 +0100
commit5db0fbd95ec8790cd1a133bb57f701c5c9f970c0 (patch)
treef7a6d9a3c7dc656107ea440c47fefef563313125 /audio/out/internal.h
parent3d7d1f3f264e55857c83b8a94aa24081ae45dd4d (diff)
downloadmpv-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/internal.h')
-rw-r--r--audio/out/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h
index fbea763306..4d18adef78 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -135,7 +135,7 @@ struct ao_driver {
// push based: see ao_play()
int (*play)(struct ao *ao, void **data, int samples, int flags);
// push based: see ao_get_delay()
- float (*get_delay)(struct ao *ao);
+ double (*get_delay)(struct ao *ao);
// push based: block until all queued audio is played (optional)
void (*drain)(struct ao *ao);
// Optional. Return true if audio has stopped in any way.