aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-07-25 12:54:50 -0700
committerChris Robinson <[email protected]>2010-07-25 12:54:50 -0700
commit46d46c49a87b33ed727a7099aca3dc89e06e57cd (patch)
treefb5e8d5611de607f6ddb707e1406d71e0bbe251d /Alc/ALc.c
parent40dd1fb85364e3a9e278ffa7a034638e7718770b (diff)
Store the time precision with the device
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 93ee4b7d..30fe037c 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1995,6 +1995,8 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
device->SamplesPlayed = 0;
+ device->TimeRes = 1;
+
InitUIntMap(&device->BufferMap);
InitUIntMap(&device->EffectMap);
InitUIntMap(&device->FilterMap);