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