Clear the position fraction when setting a new source offset

This commit is contained in:
Chris Robinson
2012-04-16 22:13:39 -07:00
parent e47557630e
commit d7ba49ea62
+1
View File
@@ -2096,6 +2096,7 @@ ALboolean ApplyOffset(ALsource *Source)
// SW Mixer Positions are in Samples
Source->position = offset - totalBufferLen;
Source->position_fraction = 0;
return AL_TRUE;
}