Commit graph

8173 commits

Author SHA1 Message Date
Pavle Goloskokovic
a3d50f936d Releasing references to sounds before releasing reference to sound array 2018-01-08 19:21:55 +01:00
Pavle Goloskokovic
9a40226452 Printing audio implementation type in debug header 2018-01-08 18:07:17 +01:00
Pavle Goloskokovic
8972401e5d Resolved a TODO 2018-01-08 18:06:36 +01:00
Pavle Goloskokovic
0cd1ec6819 Saving audio config value passed to game constructor 2018-01-08 17:39:46 +01:00
Pavle Goloskokovic
9035c5e14e Preventing finishedLoading from being called multiple times 2018-01-08 17:38:56 +01:00
Pavle Goloskokovic
ed86d8a58d Resolved a TODO 2018-01-08 17:34:35 +01:00
Pavle Goloskokovic
aa1d071c34 Resolved a TODO 2018-01-08 17:34:26 +01:00
Pavle Goloskokovic
fb9807ec4d Returning HTML5AudioFile when certain conditions are met 2018-01-08 17:33:54 +01:00
Pavle Goloskokovic
51c8312b95 Added a TODO to handle iOS unlocking 2018-01-08 17:32:21 +01:00
Pavle Goloskokovic
2c8097f130 Clearing all events listeners if error occurs 2018-01-08 17:31:53 +01:00
Pavle Goloskokovic
95a348d634 Splitting audio objects initialization and loading to make sure all event listeners are set before any file starts loading 2018-01-08 17:30:49 +01:00
Pavle Goloskokovic
6025688833 Setting event listeners directly as properties values to resolve scope issues 2018-01-08 17:29:14 +01:00
Pavle Goloskokovic
63e3159661 Incrementing filesLoaded before comparison 2018-01-08 17:27:03 +01:00
Pavle Goloskokovic
2c89e628c8 Added properties for keeping track of the loading progress 2018-01-08 17:25:42 +01:00
Pavle Goloskokovic
881d37080b Adding and removing listeners for relevant events 2018-01-08 17:23:50 +01:00
Pavle Goloskokovic
2d7e8c3403 Added onLoad and onError methods to HTML5AudioFile class 2018-01-08 17:17:46 +01:00
Pavle Goloskokovic
96cc433745 Added load method to HTML5AudioFile class 2018-01-08 17:16:15 +01:00
Pavle Goloskokovic
a58b4020b5 Added HTML5AudioFile class for loading audio with html5 audio tag 2018-01-08 17:11:15 +01:00
Pavle Goloskokovic
e421d50996 Merge remote-tracking branch 'origin/master' 2018-01-08 14:04:29 +01:00
Pavle Goloskokovic
b806d66e0d Dispatching seek event after the source has been updated 2018-01-08 14:04:21 +01:00
Richard Davey
c393b86efe Beta 15 2018-01-08 12:47:10 +00:00
Richard Davey
75b9238ede Pointer now records if the last input was from touch or mouse, and doesn't dispatch OUT and OVER events accordingly. Even though this goes against what the DOM does it's a far more common situation in games to ignore them. 2018-01-08 09:58:17 +00:00
Pavle Goloskokovic
a1bd4e4244 Added a TODO to print audio implementation in debug header 2018-01-07 23:50:27 +01:00
Pavle Goloskokovic
4be5209d8a Merge remote-tracking branch 'origin/master' 2018-01-07 23:06:05 +01:00
Pavle Goloskokovic
6fba90be74 Removed webkit check since it is taken care of by polyfill 2018-01-07 23:04:11 +01:00
Pavle Goloskokovic
159ff0f2a2 Removed a resolved TODO 2018-01-07 23:03:36 +01:00
Pavle Goloskokovic
eee47f66ae Some additional docs updates 2018-01-07 22:37:42 +01:00
Pavle Goloskokovic
5ad1dd028e Updated loop property docs 2018-01-07 22:36:57 +01:00
Pavle Goloskokovic
1d42cec0e0 Updated seek property docs 2018-01-07 22:36:44 +01:00
Pavle Goloskokovic
5f2b83adf6 Updated detune property docs 2018-01-07 22:36:31 +01:00
Pavle Goloskokovic
0516cba868 Updated rate property docs 2018-01-07 22:36:20 +01:00
Pavle Goloskokovic
9c21e686fc Updated volume property docs 2018-01-07 22:36:08 +01:00
Pavle Goloskokovic
7270536ecb Updated mute property docs 2018-01-07 22:35:57 +01:00
Pavle Goloskokovic
5248d2b113 Updated getLoopTime method docs 2018-01-07 22:35:35 +01:00
Pavle Goloskokovic
bf29b367ec Updated getCurrentTime method docs 2018-01-07 22:35:22 +01:00
Pavle Goloskokovic
45698f0411 Updated setRate method docs 2018-01-07 22:35:03 +01:00
Pavle Goloskokovic
a4b243cb09 Added destroy method docs 2018-01-07 22:34:25 +01:00
Pavle Goloskokovic
457789df64 Updated update method docs 2018-01-07 22:34:07 +01:00
Pavle Goloskokovic
958bbd7a82 Updated applyConfig method docs 2018-01-07 22:33:39 +01:00
Pavle Goloskokovic
b2b117f389 Updated stopAndRemoveLoopBufferSource method docs 2018-01-07 22:33:22 +01:00
Pavle Goloskokovic
852e4e6e22 Updated stopAndRemoveBufferSource method docs 2018-01-07 22:33:03 +01:00
Pavle Goloskokovic
7179dddc93 Updated createBufferSource method docs 2018-01-07 22:31:46 +01:00
Pavle Goloskokovic
add17bb275 Updated createAndStartLoopBufferSource method docs 2018-01-07 22:30:18 +01:00
Pavle Goloskokovic
cbe00bc00d Updated createAndStartBufferSource method docs 2018-01-07 22:26:08 +01:00
Pavle Goloskokovic
30f30c8d9f Added stop method docs 2018-01-07 22:24:34 +01:00
Pavle Goloskokovic
7dd65eb665 Added resume method docs 2018-01-07 22:24:17 +01:00
Pavle Goloskokovic
4c90ef01bd Added pause method docs 2018-01-07 22:24:02 +01:00
Pavle Goloskokovic
be48058853 Added play method docs 2018-01-07 22:23:46 +01:00
Pavle Goloskokovic
6274fc1a95 Updated hasLooped property docs 2018-01-07 22:23:05 +01:00
Pavle Goloskokovic
198f47efb3 Updated hasEnded property docs 2018-01-07 22:22:49 +01:00