mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Setting _rate field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations
This commit is contained in:
parent
cf46145d7c
commit
92ac9d41c5
1 changed files with 7 additions and 0 deletions
|
@ -73,6 +73,13 @@ var BaseSoundManager = new Class({
|
|||
* @property {Phaser.Events.EventDispatcher} events
|
||||
*/
|
||||
this.events = new EventDispatcher();
|
||||
/**
|
||||
* Property that actually holds the value of global playback rate.
|
||||
*
|
||||
* @property {number} _rate
|
||||
* @private
|
||||
*/
|
||||
this._rate = 1;
|
||||
},
|
||||
add: NOOP,
|
||||
addAudioSprite: NOOP,
|
||||
|
|
Loading…
Reference in a new issue