aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/dsound.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/dsound.c
parent0db7c4131b9b1da7a70c845a2ff3e5ab62c67e20 (diff)
Use a default method to provide a dummy latency
Diffstat (limited to 'Alc/backends/dsound.c')
-rw-r--r--Alc/backends/dsound.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/Alc/backends/dsound.c b/Alc/backends/dsound.c
index e38bf30f..9bb9b2bc 100644
--- a/Alc/backends/dsound.c
+++ b/Alc/backends/dsound.c
@@ -935,13 +935,6 @@ done:
}
-static ALint64 DSoundGetLatency(ALCdevice *device)
-{
- (void)device;
- return 0;
-}
-
-
static const BackendFuncs DSoundFuncs = {
DSoundOpenPlayback,
DSoundClosePlayback,
@@ -956,7 +949,7 @@ static const BackendFuncs DSoundFuncs = {
DSoundAvailableSamples,
ALCdevice_LockDefault,
ALCdevice_UnlockDefault,
- DSoundGetLatency
+ ALCdevice_GetLatencyDefault
};