diff options
author | Chris Robinson <[email protected]> | 2012-08-19 12:31:59 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-19 12:31:59 -0700 |
commit | 37924887e8ff84082bc948b46a664e03663ff670 (patch) | |
tree | decb64523e991cd03f49746a4d6d9b62cc6e0b44 /Alc/backends/loopback.c | |
parent | 0db7c4131b9b1da7a70c845a2ff3e5ab62c67e20 (diff) |
Use a default method to provide a dummy latency
Diffstat (limited to 'Alc/backends/loopback.c')
-rw-r--r-- | Alc/backends/loopback.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Alc/backends/loopback.c b/Alc/backends/loopback.c index 2597a392..4019d5d7 100644 --- a/Alc/backends/loopback.c +++ b/Alc/backends/loopback.c @@ -55,13 +55,6 @@ static void loopback_stop_playback(ALCdevice *device) } -static ALint64 loopback_get_latency(ALCdevice *device) -{ - (void)device; - return 0; -} - - static const BackendFuncs loopback_funcs = { loopback_open_playback, loopback_close_playback, @@ -76,7 +69,7 @@ static const BackendFuncs loopback_funcs = { NULL, ALCdevice_LockDefault, ALCdevice_UnlockDefault, - loopback_get_latency + ALCdevice_GetLatencyDefault }; ALCboolean alc_loopback_init(BackendFuncs *func_list) |