Pavle Goloskokovic
|
3176293f53
|
Resetting rateUpdates before playing sound source
|
2017-12-05 19:14:53 +01:00 |
|
Pavle Goloskokovic
|
fb9bc44685
|
Save rate updates only when sound is playing
|
2017-12-05 19:13:09 +01:00 |
|
Pavle Goloskokovic
|
7dd0a877ec
|
Save sound current time instead of context current time
|
2017-12-05 19:12:18 +01:00 |
|
Pavle Goloskokovic
|
54f5e6141d
|
Adding an item to rateUpdates every time setRate method is called
|
2017-12-05 19:11:30 +01:00 |
|
Pavle Goloskokovic
|
bc486daaa3
|
Adding rateUpdates field to WebAudioSound class to keep track of all rate changes
|
2017-12-05 19:09:34 +01:00 |
|
Pavle Goloskokovic
|
6e85e6a419
|
Adding seek property to WebAudioSound class
|
2017-12-05 19:07:40 +01:00 |
|
Pavle Goloskokovic
|
de1657de01
|
Updated comments with private and readonly descriptors
|
2017-12-04 22:09:41 +01:00 |
|
Pavle Goloskokovic
|
66d216af19
|
Reading total rate value directly from totalRate property in setRate
|
2017-12-01 15:41:24 +01:00 |
|
Pavle Goloskokovic
|
cf46145d7c
|
Calling super method in setRate method of WebAudioSound class, setting returned value to source playback rate audio param and returning the same value to match method signature
|
2017-11-27 17:32:16 +01:00 |
|
Pavle Goloskokovic
|
881474b7cd
|
Added a TODO to take into account playback rate when pausing and resuming sound
|
2017-11-27 16:50:45 +01:00 |
|
Pavle Goloskokovic
|
9fffd57ad3
|
Moved sound source not null check from properties' setter methods to setRate method
|
2017-11-27 16:48:20 +01:00 |
|
Pavle Goloskokovic
|
db06b3d742
|
Calling setRate in WebAudioSound detune property's setter method
|
2017-11-27 16:46:42 +01:00 |
|
Pavle Goloskokovic
|
074c60c270
|
Calling setRate in WebAudioSound rate property's setter method
|
2017-11-27 16:45:58 +01:00 |
|
Pavle Goloskokovic
|
1fddd3de2a
|
Added setRate method to WebAudioSound class that calculates and sets playback rate based on sound's and manager's detune and rate values
|
2017-11-27 16:44:23 +01:00 |
|
Pavle Goloskokovic
|
d13fae2260
|
Preventing negative values for source start call
|
2017-11-26 18:12:55 +01:00 |
|
Pavle Goloskokovic
|
93ac04329b
|
Updated WebAudioSound update method docs and signature
|
2017-11-26 17:25:01 +01:00 |
|
Pavle Goloskokovic
|
66dcd9f02f
|
Resetting hasEnded in update method
|
2017-11-26 17:07:56 +01:00 |
|
Pavle Goloskokovic
|
0a078d26f6
|
Setting hasEnded when sound ends
|
2017-11-26 17:07:05 +01:00 |
|
Pavle Goloskokovic
|
f0bc96e68f
|
Checking hasEnded on update in order to call stop method
|
2017-11-26 17:05:24 +01:00 |
|
Pavle Goloskokovic
|
84e6459b59
|
Added hasEnded property to WebAudioSound class
|
2017-11-26 17:03:36 +01:00 |
|
Pavle Goloskokovic
|
ceeef0368c
|
Added a todo to fix race condition
|
2017-11-26 16:41:46 +01:00 |
|
Pavle Goloskokovic
|
2995b7eaf6
|
Added short logic explanation for onended event handler
|
2017-11-26 16:37:03 +01:00 |
|
Pavle Goloskokovic
|
e13b829ab1
|
Removed redundant check in onended handler and reverted setting source to null before calling stop() on it since it does not invoke onended event handler immediately
|
2017-11-26 16:35:13 +01:00 |
|
Pavle Goloskokovic
|
007a565700
|
Just checking for null sound reference isn't enough since because calling play() on already playing sound is not covered by that condition
|
2017-11-26 16:31:06 +01:00 |
|
Pavle Goloskokovic
|
aab5150016
|
Setting source to null before calling stop on it to determine if onended event was fired when sound ended or when it was stopped by user
|
2017-11-26 16:28:54 +01:00 |
|
Pavle Goloskokovic
|
04eb680d52
|
Checking if source is null before stopping sound on ended handler because it is called also when stop() method is called on it
|
2017-11-26 16:27:39 +01:00 |
|
Pavle Goloskokovic
|
1808fab27e
|
Calling stop method when sound ends
|
2017-11-26 16:24:49 +01:00 |
|
Pavle Goloskokovic
|
762c6cb147
|
Updated a TODO
|
2017-11-23 13:55:27 +01:00 |
|
Pavle Goloskokovic
|
266ebc4925
|
Taking into account marker start time on resuming sound
|
2017-11-23 13:55:08 +01:00 |
|
Pavle Goloskokovic
|
d369d46e35
|
Taking into account marker start time if marker is currently played
|
2017-11-23 13:53:57 +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
|
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
|
1f32f04036
|
fixed deprecation issues with AudioParam for WebAudioSound
|
2017-11-21 19:47:27 +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
|
9098b806b2
|
added checks to playback control methods for WebAudioSound
|
2017-11-17 17:17: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 |
|