love.js icon indicating copy to clipboard operation
love.js copied to clipboard

Documentation regarding audio playback

Open ArseAssassin opened this issue 2 years ago • 2 comments

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.

ArseAssassin avatar May 24 '22 12:05 ArseAssassin

The audio in the compat version was fixed somewhat in the latest commit.

Davidobot avatar Aug 25 '22 15:08 Davidobot

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

chainsawriot avatar Sep 01 '24 13:09 chainsawriot