Browse Source

Fixed love.audio.stop() not rewinding streaming Sources.

Alex Szpakowski 10 years ago
parent
commit
f29567160a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/audio/openal/Pool.cpp

+ 1 - 0
src/modules/audio/openal/Pool.cpp

@@ -182,6 +182,7 @@ void Pool::stop()
 	for (const auto &i : playing)
 	{
 		i.first->stopAtomic();
+		i.first->rewindAtomic();
 		i.first->release();
 		available.push(i.second);
 	}