Another fix for seeking in audio sources

This commit is contained in:
Bart van Strien
2011-08-05 12:29:42 +02:00
parent 8fe3f73660
commit 69f12bf899
+1 -1
View File
@@ -264,7 +264,6 @@ namespace openal
// let's empty them. // let's empty them.
stopAtomic(false); stopAtomic(false);
playAtomic(); playAtomic();
toLoop = 0;
} }
} }
} }
@@ -425,6 +424,7 @@ namespace openal
} }
if (rewind) if (rewind)
rewindAtomic(); rewindAtomic();
toLoop = 0;
valid = false; valid = false;
} }