Nazariglez/pixi-audio

issue with completed audios resume on resume() call

jeff-gold-marblemedia opened this issue · 0 comments

I unminified the code and fixed the issue for my needs, but when you have played sounds previously they start again when resume is called even though they are not playing.

for my fix i just added a check to see if it was playing before pausing / resuming
if (this.sounds[i].playing) this.sounds[i].paused = e