aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/null.c
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2012-08-19 12:31:59 -0700
committerChris Robinson <chris.kcat@gmail.com>2012-08-19 12:31:59 -0700
commit37924887e8ff84082bc948b46a664e03663ff670 (patch)
treedecb64523e991cd03f49746a4d6d9b62cc6e0b44 /Alc/backends/null.c
parent0db7c4131b9b1da7a70c845a2ff3e5ab62c67e20 (diff)
Use a default method to provide a dummy latency
Diffstat (limited to 'Alc/backends/null.c')
-rw-r--r--Alc/backends/null.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c
index 8ae9479c..6c6ce0d0 100644
--- a/Alc/backends/null.c
+++ b/Alc/backends/null.c
@@ -129,14 +129,6 @@ 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,
@@ -151,7 +143,7 @@ static const BackendFuncs null_funcs = {
NULL,
ALCdevice_LockDefault,
ALCdevice_UnlockDefault,
- null_get_latency
+ ALCdevice_GetLatencyDefault
};
ALCboolean alc_null_init(BackendFuncs *func_list)