Skip to content

Commit 00c90eb

Browse files
Added fallback to noteGrainOn method call for webkit implementation when starting buffer source
1 parent 9665ab2 commit 00c90eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ var WebAudioSound = new Class({
160160
this.startTime = when;
161161
this.source = this.createBufferSource();
162162
this.applyConfig();
163-
this.source.start(Math.max(0, when), Math.max(0, offset), Math.max(0, duration));
163+
(this.source.start || this.source.noteGrainOn).call(this.source, Math.max(0, when), Math.max(0, offset), Math.max(0, duration));
164164
this.resetConfig();
165165
},
166166
/**

0 commit comments

Comments
 (0)