aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/winmm.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-21 06:32:59 -0800
committerChris Robinson <[email protected]>2010-11-21 06:32:59 -0800
commita7b4e0b5c5eefb8476836aad094035bd0a5cbcd5 (patch)
tree3a1d54115f2557e5540297625f20961b8b148e62 /Alc/winmm.c
parentbbb45e326c049aef5b4d7e86021f365d206d8bb3 (diff)
Get rid of the device timer stuff
Diffstat (limited to 'Alc/winmm.c')
-rw-r--r--Alc/winmm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/Alc/winmm.c b/Alc/winmm.c
index 61ff87b7..3796a30c 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -401,11 +401,6 @@ static void WinMMCaptureSamples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint lS
alcSetError(pDevice, ALC_INVALID_VALUE);
}
-static ALuint64 WinMMGetTime(ALCdevice *Device)
-{
- return Device->SamplesPlayed * 1000000000 / Device->Frequency;
-}
-
static BackendFuncs WinMMFuncs = {
WinMMOpenPlayback,
@@ -417,8 +412,7 @@ static BackendFuncs WinMMFuncs = {
WinMMStartCapture,
WinMMStopCapture,
WinMMCaptureSamples,
- WinMMAvailableSamples,
- WinMMGetTime
+ WinMMAvailableSamples
};
void alcWinMMInit(BackendFuncs *FuncList)