aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/null.c')
-rw-r--r--Alc/null.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/null.c b/Alc/null.c
index be760e7d..43a10624 100644
--- a/Alc/null.c
+++ b/Alc/null.c
@@ -108,6 +108,9 @@ static ALCboolean null_reset_playback(ALCdevice *device)
}
SetDefaultWFXChannelOrder(device);
+ device->TimeRes = (ALuint64)device->UpdateSize * 1000000000 /
+ device->Frequency;
+
data->thread = StartThread(NullProc, device);
if(data->thread == NULL)
{