diff options
author | Chris Robinson <[email protected]> | 2012-04-16 22:13:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-16 22:13:39 -0700 |
commit | d7ba49ea6230322d1dee7da263f1d57e8153d895 (patch) | |
tree | 6807959d3c81e9f6f25b3d6248eb183d26bd30a9 | |
parent | e47557630eded79f5b15ec78f646542301ba705c (diff) |
Clear the position fraction when setting a new source offset
-rw-r--r-- | OpenAL32/alSource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 2c0bc427..05adb394 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -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; } |