Wizcorp / AudioManager

play sounds using Web Audio, fallback on HTML5 Audio
11 stars 5 forks source link

Force looped sound to stop/restart when changing gobal mute #26

Closed cstoquer closed 7 years ago

tbrebant commented 7 years ago

Sounds hacky and not covering other audio than background loops, but (as we discussed) if it's the only way to do without having to do heavy refactoring, I guess it's fine.

Maybe just add a comment TODO: refactor [...] to show that it's not the optimal behaviour?

tbrebant commented 7 years ago

ok, LGTM