aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r--Alc/backends/wave.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index 47db5460..fb118ee8 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -322,6 +322,14 @@ static void wave_stop_playback(ALCdevice *device)
}
+static ALint64 wave_get_latency(ALCdevice *device)
+{
+ /* FIXME: time until next update + "safe" offset */
+ (void)device;
+ return 0;
+}
+
+
static const BackendFuncs wave_funcs = {
wave_open_playback,
wave_close_playback,
@@ -333,7 +341,8 @@ static const BackendFuncs wave_funcs = {
NULL,
NULL,
NULL,
- NULL
+ NULL,
+ wave_get_latency
};
ALCboolean alc_wave_init(BackendFuncs *func_list)