Cloning streamed source causes source to become unplayable.

Issue #1508 new
Scott Conner (_DaCoolOne_) created an issue

From this topic on the forums:
https://love2d.org/forums/viewtopic.php?f=4&t=87055&sid=0f9a46975506cf089bf21f6f97672024

When playing sources using Source:clone() and Source:play(), love2d bugs out and will not play a “stream” source more than once even after restarting the program. A full restart of the computer is required to get the source to play only once before the same issue happens all over again. After removing the Source:clone(), the source played normally (although the source can’t be stacked now).

Issue does not apply to static sources. This issue may apply to other versions, I have not tested whether it does.

Will add some code if I can find the time to replicate the bug in a separate more simplified program.

(Current solution was to stop using Source:clone() in the project).

Comments (1)

  1. Alex Szpakowski

    Are you able to try love 11.3? It has a bunch of audio-related fixes, especially for streaming sources.

    A windows prerelease build of 11.3 is here: 32 bit, 64 bit

  2. Log in to comment