summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alSource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index d52c69da..68dffb64 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1985,6 +1985,9 @@ static ALvoid GetSourceOffset(ALsource *Source, ALenum name, ALdouble *offset, A
return;
}
+ if(updateLen > 0.0 && updateLen < 0.015)
+ updateLen = 0.015;
+
// Get Current SamplesPlayed (NOTE : This is the offset into the *current* buffer)
readPos = Source->position;
// Add length of any processed buffers in the queue