Explorar o código

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

Alex Szpakowski %!s(int64=10) %!d(string=hai) anos
pai
achega
f29567160a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 	}