mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Added fallback to noteOff method call for webkit implementation when stopping buffer source
This commit is contained in:
parent
cd0c6b27a7
commit
7f04143b7c
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ var WebAudioSound = new Class({
|
|||
*/
|
||||
stopAndRemoveBufferSource: function () {
|
||||
if (this.source) {
|
||||
this.source.stop();
|
||||
(this.source.stop || this.source.noteOff).call(this.source);
|
||||
this.source = null;
|
||||
}
|
||||
this.playTime = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue