Pavle Goloskokovic
|
76a32e20c6
|
Fixed return values for addMarker method
|
2017-11-23 12:37:10 +01:00 |
|
Pavle Goloskokovic
|
1e213e6d86
|
Added validation for existing marker
|
2017-11-23 12:35:55 +01:00 |
|
Pavle Goloskokovic
|
de5689b129
|
Added validation for marker name
|
2017-11-23 12:34:43 +01:00 |
|
Pavle Goloskokovic
|
2bcffe6f2f
|
Merging provided marker with object with default values
|
2017-11-23 12:33:56 +01:00 |
|
Pavle Goloskokovic
|
40b4dc2e6e
|
Adding validation and error handling if no marker is passed
|
2017-11-23 12:31:34 +01:00 |
|
Pavle Goloskokovic
|
084d309efb
|
Adding market to markers array in addMarker method
|
2017-11-23 12:30:24 +01:00 |
|
Pavle Goloskokovic
|
c1b0bc4ee7
|
Added a TODO for scheduled playback
|
2017-11-22 18:07:08 +01:00 |
|
Pavle Goloskokovic
|
068fc6d1c9
|
Renamed 'marker' param of play method to 'markerName' to avoid any confusion for WebAudioSound
|
2017-11-22 18:06:21 +01:00 |
|
Pavle Goloskokovic
|
d367dc1a85
|
Renamed 'marker' param of play method to 'markerName' to avoid any confusion for BaseSound
|
2017-11-22 18:05:18 +01:00 |
|
Pavle Goloskokovic
|
8e912ab877
|
Updated currentMarker property to hold reference to marker object instead it's name
|
2017-11-22 18:03:44 +01:00 |
|
Pavle Goloskokovic
|
55e5041ef8
|
Setting correct duration value when calling play on BaseSound class
|
2017-11-22 18:00:53 +01:00 |
|
Pavle Goloskokovic
|
de0aefba7e
|
Added default value for config in WebAudioSound constructor
|
2017-11-22 17:58:05 +01:00 |
|
Pavle Goloskokovic
|
9a143694d1
|
Using duration property instead of config duration setting in WebAudioSound
|
2017-11-22 17:56:55 +01:00 |
|
Pavle Goloskokovic
|
92abe3f678
|
Remove completed TODO
|
2017-11-22 17:54:38 +01:00 |
|
Pavle Goloskokovic
|
ffe4e49512
|
Setting duration and totalDuration properties in WebAudioSound constructor
|
2017-11-22 17:54:00 +01:00 |
|
Pavle Goloskokovic
|
90d2e8cf03
|
Removed setting duration setting in config for WebAudioSound
|
2017-11-22 17:51:10 +01:00 |
|
Pavle Goloskokovic
|
1296dd737d
|
Added totalDuration property to BaseSound class
|
2017-11-22 17:48:10 +01:00 |
|
Pavle Goloskokovic
|
f932e315d6
|
Added duration property to BaseSound class
|
2017-11-22 17:47:18 +01:00 |
|
Pavle Goloskokovic
|
7442ab5bc8
|
Removed duration setting from sound config
|
2017-11-22 17:45:57 +01:00 |
|
Pavle Goloskokovic
|
cd43f0095c
|
fixed deprecation issues with AudioParam for WebAudioSoundManager
|
2017-11-21 19:47:43 +01:00 |
|
Pavle Goloskokovic
|
1f32f04036
|
fixed deprecation issues with AudioParam for WebAudioSound
|
2017-11-21 19:47:27 +01:00 |
|
Pavle Goloskokovic
|
658e8c0ee6
|
implemented onBlur and onFocus methods for WebAudioSoundManager
|
2017-11-21 18:09:30 +01:00 |
|
Pavle Goloskokovic
|
ab9a9c951f
|
bound onBlur and onFocus methods to corresponding game events
|
2017-11-21 18:06:18 +01:00 |
|
Pavle Goloskokovic
|
dd824c4a79
|
added onBlur and onFocus methods to BaseSoundManager
|
2017-11-21 18:04:54 +01:00 |
|
Pavle Goloskokovic
|
f00421f112
|
changed muteOnPause flag to be pauseOnBlur for BaseSoundManager
|
2017-11-21 18:02:24 +01:00 |
|
Pavle Goloskokovic
|
526df860d9
|
added method for unlocking audio context on mobile devices
|
2017-11-21 15:43:10 +01:00 |
|
Pavle Goloskokovic
|
cafa91005f
|
updated description for detune setting and added a check to see if it's available, webkit implementation does not support it
|
2017-11-20 14:54:33 +01:00 |
|
Pavle Goloskokovic
|
82083897aa
|
updated source stopping logic for WebAudioSound class
|
2017-11-17 18:38:23 +01:00 |
|
Pavle Goloskokovic
|
6897d6567b
|
updated checks in playback control methods for BaseSound class
|
2017-11-17 18:37:49 +01:00 |
|
Pavle Goloskokovic
|
6577a232a1
|
adding flag to WebAudioSoundManager indicating if Web Audio implementation is webkit or standards based
|
2017-11-17 17:30:29 +01:00 |
|
Pavle Goloskokovic
|
9098b806b2
|
added checks to playback control methods for WebAudioSound
|
2017-11-17 17:17:06 +01:00 |
|
Pavle Goloskokovic
|
40c4b9f6e5
|
added checks to playback control methods for BaseSound class
|
2017-11-17 17:16:06 +01:00 |
|
Pavle Goloskokovic
|
720d2a9665
|
moved source buffer stopping and removing to separate method for reuse
|
2017-11-17 17:07:04 +01:00 |
|
Pavle Goloskokovic
|
a6fcb4cf53
|
added a couple of TODOs
|
2017-11-17 17:02:11 +01:00 |
|
Pavle Goloskokovic
|
478656df98
|
moved source buffer creation and starting to separate method for reuse
|
2017-11-17 17:01:12 +01:00 |
|
Pavle Goloskokovic
|
e6f17744b6
|
handling source buffer on method calls for WebAudioSound
|
2017-11-17 16:16:01 +01:00 |
|
Pavle Goloskokovic
|
7b90fc7f90
|
updating pausedTime value on method calls for WebAudioSound
|
2017-11-17 15:42:22 +01:00 |
|
Pavle Goloskokovic
|
f7f5bebd72
|
added pausedTime field to WebAudioSound class
|
2017-11-17 15:33:42 +01:00 |
|
Pavle Goloskokovic
|
f1a15571ff
|
setting startTime to context current time on play for WebAudioSound
|
2017-11-17 15:29:49 +01:00 |
|
Pavle Goloskokovic
|
7f0930eec0
|
stopping source buffer if sound is already playing on play for WebAudioSound
|
2017-11-17 15:28:27 +01:00 |
|
Pavle Goloskokovic
|
ead02ec186
|
added super calls to pause and resume methods for WebAudioSound
|
2017-11-17 15:23:52 +01:00 |
|
Pavle Goloskokovic
|
d1fcc39fd3
|
setting playback flags to correct values on resume call for BaseSound
|
2017-11-17 15:18:51 +01:00 |
|
Pavle Goloskokovic
|
1d7d488e68
|
setting playback flags to correct values on pause call for BaseSound
|
2017-11-17 15:16:25 +01:00 |
|
Pavle Goloskokovic
|
c5436c7fcc
|
setting playback flags to correct values on play call for BaseSound
|
2017-11-17 15:14:57 +01:00 |
|
Pavle Goloskokovic
|
a9692ce2dd
|
stopping source and resetting fields on stop call for WebAudioSound
|
2017-11-17 15:05:17 +01:00 |
|
Pavle Goloskokovic
|
38a8ce378d
|
resetting flags on stop call for BaseSound
|
2017-11-17 15:03:59 +01:00 |
|
Pavle Goloskokovic
|
0d1fb8a15e
|
added startTime field to WebAudioSound class
|
2017-11-17 14:57:57 +01:00 |
|
Pavle Goloskokovic
|
7a4939d435
|
added isPaused field to BaseSound class
|
2017-11-17 14:51:23 +01:00 |
|
Pavle Goloskokovic
|
0eca17520c
|
updated references in sound folder index.js
|
2017-11-17 14:18:22 +01:00 |
|
Pavle Goloskokovic
|
3828540ba4
|
moved web audio implementations into separate folder
|
2017-11-17 14:17:59 +01:00 |
|