diff options
Diffstat (limited to 'Alc/backends/null.c')
-rw-r--r-- | Alc/backends/null.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c index 1b9bedef..f39d3071 100644 --- a/Alc/backends/null.c +++ b/Alc/backends/null.c @@ -129,6 +129,14 @@ static void null_stop_playback(ALCdevice *device) } +static ALint64 null_get_latency(ALCdevice *device) +{ + /* FIXME: Time until next update + "safe" offset */ + (void)device; + return 0; +} + + static const BackendFuncs null_funcs = { null_open_playback, null_close_playback, @@ -140,7 +148,8 @@ static const BackendFuncs null_funcs = { NULL, NULL, NULL, - NULL + NULL, + null_get_latency }; ALCboolean alc_null_init(BackendFuncs *func_list) |