Stopping and removing loop source when stopping and removing main source

This commit is contained in:
Pavle Goloskokovic 2017-12-22 15:42:45 +01:00
parent c15afd2d29
commit 5635c04da0

View file

@ -207,6 +207,7 @@ var WebAudioSound = new Class({
}
this.playTime = 0;
this.startTime = 0;
this.stopAndRemoveLoopBufferSource();
},
/**
* Used internally to do what the name says.