Skip to content

Commit 8b676cf

Browse files
Renamed loop event to looped for emitting event when sound has looped
1 parent 846aefd commit 8b676cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
var Class = require('../../utils/Class');
22
var BaseSound = require('../BaseSound');
3-
43
/*!
54
* @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
65
*/
@@ -318,7 +317,7 @@ var WebAudioSound = new Class({
318317
rate: this.totalRate
319318
});
320319
this.createAndStartLoopBufferSource();
321-
this.emit('loop', this);
320+
this.emit('looped', this);
322321
}
323322
},
324323
/**

0 commit comments

Comments
 (0)