diff options
-rw-r--r-- | OpenAL32/alSource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 74323185..38b287b4 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2906,7 +2906,7 @@ ALboolean ApplyOffset(ALsource *Source) ALbufferlistitem *BufferList; const ALbuffer *Buffer; ALuint bufferLen, totalBufferLen; - ALuint offset, frac; + ALuint offset=0, frac=0; /* Get sample frame offset */ if(!GetSampleOffset(Source, &offset, &frac)) |