You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sound/BaseSoundManager.js
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,9 @@ var NOOP = require('../utils/NOOP');
31
31
* @classdesc
32
32
* The sound manager is responsible for playing back audio via Web Audio API or HTML Audio tag as fallback.
33
33
* The audio file type and the encoding of those files are extremely important.
34
-
*
34
+
*
35
35
* Not all browsers can play all audio formats.
36
-
*
36
+
*
37
37
* There is a good guide to what's supported [here](https://developer.mozilla.org/en-US/Apps/Fundamentals/Audio_and_video_delivery/Cross-browser_audio_basics#Audio_Codec_Support).
38
38
*
39
39
* @class BaseSoundManager
@@ -169,11 +169,6 @@ var BaseSoundManager = new Class({
169
169
* @since 3.0.0
170
170
*/
171
171
this.unlocked=false;
172
-
173
-
if(this.locked)
174
-
{
175
-
this.unlock();
176
-
}
177
172
},
178
173
179
174
/**
@@ -537,7 +532,7 @@ var BaseSoundManager = new Class({
537
532
538
533
/**
539
534
* Sets the global playback rate at which all the sounds will be played.
540
-
*
535
+
*
541
536
* For example, a value of 1.0 plays the audio at full speed, 0.5 plays the audio at half speed
0 commit comments