Richard Davey
|
494ea72108
|
The BaseSound.destroy method will now call BaseSound.stop which will reset the isPlaying and other flags. Fix #6645
|
2023-11-08 16:26:48 +00:00 |
|
Jay Kim
|
064b7cce25
|
fix: memory leak in WebAudioSoundManager
`unlockHandler` was not removed because of `this` was not binded to `bodyRemove` function, causing serious memory leak.
|
2023-04-14 18:16:38 +09:00 |
|
Richard Davey
|
f68218477c
|
Setting SoundManager.pauseOnBlur to true would not stop the audio if a game lost focus on certain browsers (like Firefox and Chrome on Android 13). This is now enforced via the new gameLostFocus flag. Fix #6354
|
2023-04-12 03:23:21 +01:00 |
|
Richard Davey
|
ddc79c71a2
|
Update WebAudioSound.js
|
2023-04-03 20:19:26 +01:00 |
|
Richard Davey
|
68186fae34
|
Merge pull request #6382 from alxwest/spatial-sound
Spatial sound
|
2023-02-17 17:32:54 +00:00 |
|
Richard Davey
|
a3b771e5ee
|
Merge pull request #6388 from samme/fix/listener-positionX
Fix "listener.positionX is undefined" error
|
2023-02-17 17:30:23 +00:00 |
|
Richard Davey
|
5ad4cbba7d
|
Types fix
|
2023-02-17 17:25:11 +00:00 |
|
samme
|
2a5a7d07f9
|
Fix "listener.positionX is undefined" error
Fixes #6385
|
2023-02-13 10:12:04 -08:00 |
|
Alex West
|
6f6f96959d
|
Efficient spatial audio processing
|
2023-02-02 17:43:04 +00:00 |
|
Alex West
|
ee2bf925ae
|
Missed reference
|
2023-02-02 14:53:22 +00:00 |
|
Alex West
|
f1b40a8475
|
audioDestination to listenerPosition
|
2023-02-02 14:52:28 +00:00 |
|
Alex West
|
2507bb0fa4
|
Blip in sound's spatial source on play and pause.
|
2023-02-02 13:55:08 +00:00 |
|
Alex West
|
2df3d5979d
|
Merge branch 'spatial-sound' of https://github.com/alxwest/phaser into spatial-sound
|
2023-02-02 13:22:30 +00:00 |
|
Richard Davey
|
a679b3e835
|
Update SpatialSoundConfig.js
|
2023-02-01 17:22:52 +00:00 |
|
Alex West
|
2eb916238b
|
Reduce processing on spatial audio for some browsers
|
2023-02-01 15:06:12 +00:00 |
|
Richard Davey
|
717f09e244
|
Tidying up the spatial audio functions to make them more game friendly
|
2023-01-31 18:47:49 +00:00 |
|
Richard Davey
|
60b4dabf59
|
Corrected the source properties and swapped to use GetFastValue #6355
|
2023-01-31 16:28:20 +00:00 |
|
Richard Davey
|
a062fe3281
|
Changed default cone outer angle to 0
|
2023-01-31 16:18:27 +00:00 |
|
Richard Davey
|
0cedda1cd9
|
Fix jsdocs and eslint #6355
|
2023-01-31 15:50:55 +00:00 |
|
Richard Davey
|
2e2b572e43
|
Added missing property declarations for spatialNode and spatialSource and added missing nulll of the source in destroy #6355
|
2023-01-31 15:49:09 +00:00 |
|
Richard Davey
|
c2efac5ea8
|
Update SpatialSoundConfig.js
|
2023-01-31 15:48:08 +00:00 |
|
Alex West
|
114d267ffa
|
whitespace
|
2023-01-30 14:20:39 +00:00 |
|
Alex West
|
c1f42c9369
|
Bug fix: reset position of listener when applying config.
|
2023-01-30 14:17:40 +00:00 |
|
Alex West
|
fc737e60b7
|
Removed z value change.
|
2023-01-26 16:23:25 +00:00 |
|
Alex West
|
9ff5dc5e77
|
Set defaults to web audio's standards.
|
2023-01-26 16:22:53 +00:00 |
|
Alex West
|
cce08adf5c
|
bug fix: chained audio nodes incorrectly.
bug fix: null exception raised when context.createPanner isn't defined.
|
2023-01-26 13:18:57 +00:00 |
|
Alex West
|
34b50d9f5d
|
Forgot the brackets...
|
2023-01-26 11:57:41 +00:00 |
|
Alex West
|
b015d2b27a
|
createPanner() instead of initializing PannerNode
|
2023-01-24 09:55:06 +00:00 |
|
Alex West
|
33a3388892
|
Requested changes from PR
|
2023-01-24 09:26:42 +00:00 |
|
Alex West
|
98b4364f55
|
Whitespace fix
|
2023-01-20 09:58:20 +00:00 |
|
Alex West
|
d124f19c33
|
Removed redundant comment
|
2023-01-19 18:09:50 +00:00 |
|
Alex West
|
8f60ada769
|
First pass at 2D spatial sound.
|
2023-01-19 18:09:16 +00:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
14ddd29fbd
|
Fixed TS errors
|
2022-11-30 15:06:52 +00:00 |
|
Richard Davey
|
9bdf022bed
|
The BaseSoundManager.getAll method used to require a key parameter, to return Sounds matching the key. This is now optional and if not given, all Sound instances are returned.
|
2022-11-22 18:49:37 +00:00 |
|
Richard Davey
|
320317c884
|
The WebAudioSoundManager will now detect if the Audio Context enters a 'suspended' or 'interrupted' state as part of its update loop and if so it'll try to resume the context. This can happen if you change or disable the audio device, such as plugging in headphones with built-in audio drivers then disconnecting them, or swapping tabs on iOS. Fix #5353
|
2022-11-22 18:38:49 +00:00 |
|
Richard Davey
|
ee2b5f5e35
|
Clarify jsdocs. Fix #6043
|
2022-11-22 18:26:13 +00:00 |
|
Richard Davey
|
45fbebb53a
|
BaseSoundManager.getAllPlaying is a new method that will return all currently playing sounds in the Sound Manager.
Fix #6147
|
2022-11-21 21:38:54 +00:00 |
|
Richard Davey
|
d71b53a7f5
|
Updated jsdocs. Fix #5981
|
2022-11-18 22:14:59 +00:00 |
|
Richard Davey
|
064e8a3ec2
|
Fixed type issues
|
2022-11-10 16:05:20 +00:00 |
|
Richard Davey
|
023343c789
|
All events have a type of string. Fix #6136
|
2022-09-21 22:01:03 +01:00 |
|
Richard Davey
|
6fe41a4845
|
Fix path
|
2022-09-20 22:24:27 +01:00 |
|
Richard Davey
|
6c70869ea4
|
Lots of jsdoc / TS fixes
|
2022-09-20 22:17:21 +01:00 |
|
Richard Davey
|
145832ed93
|
Destroying a WebAudioSound in the same game step as destroying the Game itself would cause an error when trying to disconnect already disconnected Web Audio nodes. WebAudioSound will now bail out of its destroy sequence if it's already pending removal.
|
2022-09-08 14:53:02 +01:00 |
|
Richard Davey
|
a421b1057a
|
Add jsdocs so TypeScript won't complain #6200
|
2022-09-07 18:24:55 +01:00 |
|
Richard Davey
|
ec412b08a5
|
Tidy up
|
2022-09-07 18:24:26 +01:00 |
|
samme
|
0462351a64
|
Add missing NoAudioSoundManager methods
Fixes #6200
|
2022-08-26 11:41:34 -07:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Richard Davey
|
4f0232e8c8
|
Restored the 3.55.2 sound system + fixes for iOS
|
2022-02-04 16:59:13 +00:00 |
|
Richard Davey
|
2b4f9791fd
|
Remove console log
|
2022-02-03 16:47:52 +00:00 |
|