mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fixed love.audio.stop() not rewinding streaming Sources.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user