You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of commit 93eec1a, there is now a bug where music temporarily stops due to the above reasons. In order to fix, audio would have to be moved to a separate thread, but even then it doesn't account for the visual stall.
The text was updated successfully, but these errors were encountered:
Since the above linked issue was closed as "not viable to implement" basically, i could suggest that, at least for continuous sound playback, another löve thread could be used to do the QSource data queueing on, as you already mentioned; can't do too much about the visuals at this point sadly.
(As an aside, i did a test project myself sometime in the past with threading, and i managed to put everything on the lua side, except love.event.pump and graphics and window calls in love.run into a separate thread, but i must admit, i haven't experimented further with it; maybe it'd be possible to somehow transfer/access those from the separate thread as well...)
I'm planning to put audio playback in a separate thread, but getting everything working from a separate thread (or only graphics + audio) would be a complete solution. I'll do some experimenting when I come back to this project and hopefully figure out a workaround, although, I doubt it :(
xNul
changed the title
Interacting with the window border (minimizing/resizing/moving window/etc) or sometimes switching to fullscreen, pauses the song
Interacting with the window border (minimizing/resizing/moving window/etc) or sometimes switching to fullscreen, pauses playback
Jan 3, 2019
Because of commit 93eec1a, there is now a bug where music temporarily stops due to the above reasons. In order to fix, audio would have to be moved to a separate thread, but even then it doesn't account for the visual stall.
The text was updated successfully, but these errors were encountered: