love.js
love.js copied to clipboard
Documentation regarding audio playback
First of all thank you for this library! For the most part, everything works much smoother than I would've expected possible running Love2d in the browser.
I've managed to get my game working reasonably well, but am having trouble understanding some audio related issues. I've managed to work around most of it, but it seems like there's a limit on the number of sources that can be played simultaneously. Can someone confirm this? It'd also be helpful to understand which browser API is used to play back the audio as I'm sure there are browser-specific limitations no matter how it's implemented.
I'd gladly submit a pull request updating the docs if I could figure this out.
The audio in the compat
version was fixed somewhat in the latest commit.
One thing I found today: Even with -c
, love.audio.stop()
will freeze the execution of the game.
Version: 11.4.1 LOVE version: 11.5