videah/LovePotion

Implement more of love.audio + add .ogg support

videah opened this issue · 3 comments

love.audio is very basic at the moment, it can only play sounds and that's it.
.ogg support shouldn't be too tricky.

a8afb7d added the following:

  • source:stop
  • source:setLooping
  • source:isLooping
  • source:isPlaying

and fixed love.audio.stop.

Another (likely) easy addition would be source:clone(). It just returns a copy of the source - I use it to repeat sounds quickly. For now I can just implement a polyfill but it would be nice to have this natively.

Sorry to bump an old issue but it's still open. If you'd like I can attempt to implement it myself and submit a PR.

This project hasn't been maintained in a while but there's an active fork of it here.