aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/coreaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-08-19 12:31:59 -0700
committerChris Robinson <[email protected]>2012-08-19 12:31:59 -0700
commit37924887e8ff84082bc948b46a664e03663ff670 (patch)
treedecb64523e991cd03f49746a4d6d9b62cc6e0b44 /Alc/backends/coreaudio.c
parent0db7c4131b9b1da7a70c845a2ff3e5ab62c67e20 (diff)
Use a default method to provide a dummy latency
Diffstat (limited to 'Alc/backends/coreaudio.c')
-rw-r--r--Alc/backends/coreaudio.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/Alc/backends/coreaudio.c b/Alc/backends/coreaudio.c
index c3a67c81..a1ba325a 100644
--- a/Alc/backends/coreaudio.c
+++ b/Alc/backends/coreaudio.c
@@ -663,13 +663,6 @@ static ALCuint ca_available_samples(ALCdevice *device)
}
-static ALint64 ca_get_latency(ALCdevice *device)
-{
- (void)device;
- return 0;
-}
-
-
static const BackendFuncs ca_funcs = {
ca_open_playback,
ca_close_playback,
@@ -684,7 +677,7 @@ static const BackendFuncs ca_funcs = {
ca_available_samples,
ALCdevice_LockDefault,
ALCdevice_UnlockDefault,
- ca_get_latency
+ ALCdevice_GetLatencyDefault
};
ALCboolean alc_ca_init(BackendFuncs *func_list)