aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 7db175ef..d3468628 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -539,6 +539,7 @@ void InitVoice(Voice *voice, ALsource *source, ALbufferQueueItem *BufferList, AL
if(buffer->mCallback) voice->mFlags.set(VoiceIsCallback);
else if(source->SourceType == AL_STATIC) voice->mFlags.set(VoiceIsStatic);
voice->mNumCallbackBlocks = 0;
+ voice->mCallbackBlockBase = 0;
voice->prepare(device);