2
0
Эх сурвалжийг харах

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

Alex Szpakowski 10 жил өмнө
parent
commit
f29567160a

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

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