Skip to content

Commit 15f1957

Browse files
committed
Updates to VERSIONS, docs, and libs
1 parent d08b298 commit 15f1957

9 files changed

+245
-670
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
SoundJS is a library to make working with audio on the web easier. It provides a consistent API for playing audio in
44
different browsers, including using a target plugin model to provide an easy way to provide additional audio plugins
5-
like a Flash fallback. A mechanism has been provided for easily tying in audio preloading to
6-
[PreloadJS](http://createjs.com/preloadjs/).
5+
like a Flash fallback (included, but must be used separately from the combined/minified version).
6+
7+
A mechanism has been provided for easily tying in audio preloading to [PreloadJS](http://createjs.com/preloadjs/).
78

89

910
## Example

VERSIONS.txt

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
Version NEXT [Not yet released]
22
****************************************************************************************************
3-
* Changed XHR error conditions to only include 400-599. Specifically removed status=0 as an error,
3+
CRITICAL
4+
- removed deprecated properties, particularly getValue/setValue properties, in favour of .value
5+
this particularly affects instance and global properties like mute, volume, pan, etc.
6+
7+
OTHER
8+
* changed XHR error conditions to only include 400-599. Specifically removed status=0 as an error,
49
which affects compiled applications.
5-
* Fixed issue where values don't get appended to GET requests in XHRRequest
6-
* Added "touchstart" as an audio unlocking event, which seems to be the best for iOS
7-
* Checked if preload candidates are videos, since SoundJS mistakenly handles these when they are mp4.
8-
* Added missing Methods and Types classes from recent PreloadJS changes
9-
* Handled case where audio duration returned < 0, resulting in a DOM Error
10+
* fixed issue where values don't get appended to GET requests in XHRRequest
11+
* added "touchstart" as an audio unlocking event, which seems to be the best for iOS
12+
* checked if preload candidates are videos, since SoundJS mistakenly handles these when they are mp4.
13+
* added missing Methods and Types classes from recent PreloadJS changes
14+
* handled case where audio duration returned < 0, resulting in a DOM Error
15+
* fixed issue where new instances wouldn't get the global mute/volume (thanks @PythonFanboy)
1016

1117

1218
Version 0.6.2 [November 26, 2015]

docs/soundjs_docs-NEXT.zip

-17.2 KB
Binary file not shown.

lib/cordovaaudioplugin-NEXT.combined.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ this.createjs = this.createjs || {};
446446

447447
/**
448448
* The capabilities of the plugin. This is generated via the {{#crossLink "CordovaAudioPlugin/_generateCapabilities"}}{{/crossLink}}
449-
* method. Please see the Sound {{#crossLink "Sound/getCapabilities"}}{{/crossLink}} method for an overview of all
449+
* method. Please see the Sound {{#crossLink "Sound/capabilities:property"}}{{/crossLink}} method for an overview of all
450450
* of the available properties.
451451
* @property _capabilities
452452
* @type {Object}
@@ -470,7 +470,7 @@ this.createjs = this.createjs || {};
470470
};
471471

472472
/**
473-
* Determine the capabilities of the plugin. Used internally. Please see the Sound API {{#crossLink "Sound/getCapabilities"}}{{/crossLink}}
473+
* Determine the capabilities of the plugin. Used internally. Please see the Sound API {{#crossLink "Sound/capabilities:property"}}{{/crossLink}}
474474
* method for an overview of plugin capabilities.
475475
* @method _generateCapabilities
476476
* @static
@@ -566,6 +566,6 @@ this.createjs = this.createjs || {};
566566
* @type String
567567
* @static
568568
**/
569-
s.buildDate = /*=date*/"Mon, 12 Dec 2016 17:03:54 GMT"; // injected by build process
569+
s.buildDate = /*=date*/"Thu, 08 Jun 2017 21:05:43 GMT"; // injected by build process
570570

571571
})();

lib/cordovaaudioplugin-NEXT.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/flashaudioplugin-NEXT.combined.js

+9-21
Original file line numberDiff line numberDiff line change
@@ -844,10 +844,6 @@ this.createjs = this.createjs || {};
844844
}
845845
var p = createjs.extend(Loader, createjs.AbstractLoader);
846846

847-
// TODO: deprecated
848-
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
849-
850-
851847
// Static Properties
852848
var s = Loader;
853849
/**
@@ -979,10 +975,6 @@ this.createjs = this.createjs || {};
979975
};
980976
var p = createjs.extend(FlashAudioSoundInstance, createjs.AbstractSoundInstance);
981977

982-
// TODO: deprecated
983-
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
984-
985-
986978
// Static Propeties
987979
var s = FlashAudioSoundInstance;
988980
/**
@@ -1060,13 +1052,13 @@ this.createjs = this.createjs || {};
10601052
p._beginPlaying = function (playProps) {
10611053
if (s._flash == null) { return false; }
10621054

1063-
this.setPosition(playProps.offset);
1064-
this.setLoop(playProps.loop);
1065-
this.setVolume(playProps.volume);
1066-
this.setPan(playProps.pan);
1055+
this.position = playProps.offset;
1056+
this.loop = playProps.loop;
1057+
this.volume = playProps.volume;
1058+
this.pan = playProps.pan;
10671059
if (playProps.startTime != null) {
1068-
this.setStartTime(playProps.startTime);
1069-
this.setDuration(playProps.duration);
1060+
this.startTime = playProps.startTime;
1061+
this.duration = playProps.duration;
10701062
}
10711063
this._paused = false;
10721064

@@ -1287,10 +1279,6 @@ this.createjs = this.createjs || {};
12871279
var p = createjs.extend(FlashAudioPlugin, createjs.AbstractPlugin);
12881280
var s = FlashAudioPlugin;
12891281

1290-
// TODO: deprecated
1291-
// p.initialize = function() {}; // searchable for devs wondering where it is. REMOVED. See docs for details.
1292-
1293-
12941282
// Static properties
12951283
/**
12961284
* Event constant for the "registerFlashID" event for cleaner code.
@@ -1314,7 +1302,7 @@ this.createjs = this.createjs || {};
13141302

13151303
/**
13161304
* The capabilities of the plugin. This is generated via the {{#crossLink "WebAudioPlugin/_generateCapabilities"}}{{/crossLink}}
1317-
* method. Please see the Sound {{#crossLink "Sound/getCapabilities"}}{{/crossLink}} method for a list of available
1305+
* method. Please see the Sound {{#crossLink "Sound/capabilities:property"}}{{/crossLink}} method for a list of available
13181306
* capabilities.
13191307
* @property _capabilities
13201308
* @type {Object}
@@ -1351,7 +1339,7 @@ this.createjs = this.createjs || {};
13511339
};
13521340

13531341
/**
1354-
* Determine the capabilities of the plugin. Used internally. Please see the Sound API {{#crossLink "Sound/getCapabilities"}}{{/crossLink}}
1342+
* Determine the capabilities of the plugin. Used internally. Please see the Sound API {{#crossLink "Sound/capabilities:property"}}{{/crossLink}}
13551343
* method for an overview of plugin capabilities.
13561344
* @method _generateCapabilities
13571345
* @static
@@ -1599,6 +1587,6 @@ this.createjs = this.createjs || {};
15991587
* @type String
16001588
* @static
16011589
**/
1602-
s.buildDate = /*=date*/"Mon, 14 Sep 2015 19:11:47 GMT"; // injected by build process
1590+
s.buildDate = /*=date*/"Thu, 08 Jun 2017 21:05:43 GMT"; // injected by build process
16031591

16041592
})();

lib/flashaudioplugin-NEXT.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)