Joe Osborn
862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build ( #15688 )
...
* Increase emscripten stack size and decrease path size to fix emscripten builds broken since de45fc2
* use modularize flags for better-behaved javascript output
* makefile and loader changes
* use specialHTMLTargets to support modular access to canvas
* bind key events to canvas, not document
This way focus means focus and we can have multiple RA instances in
one page.
* Work around an emscripten bug in strict mode
* (Emscripten) Use console.error() for error messages
* increase asyncify stack size
* Fix `-lm` flag-related compile warnings in emscripten
---------
Co-authored-by: Rob Loach <robloach@gmail.com >
2023-11-02 13:25:50 -07:00
Ethan O'Brien
58aafeec78
Fix RWebAudioInit race condition
2023-07-02 05:47:13 +02:00
Ethan O'Brien
7ac3dcd5fe
change blocking conditions
2023-07-01 19:22:37 +02:00
Ethan O'Brien
88778bc137
Fix rwebaudio bug
2023-07-01 19:22:37 +02:00
SimpleTease
bb6a680890
Emscripten: remove unused dependency (buildfix)
2020-12-18 03:40:18 +00:00
Toad King
618da66073
emscripten: add hack to prevent ERRNO_CODES from being optimized away
2019-08-07 22:07:09 -05:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
Rob Loach
cb3ab8b12e
emscripten: Use argument list for Module.print
2018-01-15 10:06:06 -05:00
Rob Loach
2f6297838e
emscripten: Remove output textarea
...
This removes the output textarea as we're using the console now.
2018-01-15 10:03:50 -05:00
Toad King
0256156a6b
fix rwebaudio time drift
...
fixes audio getting stuck in an always fast state
2018-01-15 03:08:30 -06:00
Toad King
6f77859eed
fixes to rwebaudio
...
it should no longer mark buffers for clear if they're still being filled
report correct total buffer size to help resampler
2018-01-14 22:56:53 -06:00
Toad King
7b3554fd3c
fix crash in cores than send audio early
2018-01-14 20:46:08 -06:00
Toad King
1e212b4248
use emscripten HTML5 API for keyboard events instead of old JS library
2018-01-13 17:56:00 -06:00
Shane Mouton
cf81ddcb4e
Audio Performance Change
...
changed bufferSource variable to constant...This fixes the constant sound popping in Safari.
2017-09-26 20:53:02 -04:00
radius
d3fa4535fc
move these files over to the package dir
2016-08-28 19:09:55 -05:00
Andrés
a2529620ad
Merge pull request #3401 from RobLoach/tweaks
...
[Emscripten] Add design tweaks to the player
2016-08-17 14:44:55 -05:00
Rob Loach
b20c843fa8
[Emscripten] Add design tweaks to the player
2016-08-17 15:43:35 -04:00
Rob Loach
edb0e974d7
[Emscripten] Add some spacing above Start controls
2016-08-17 15:25:28 -04:00
Andrés
2723fe59a0
Merge pull request #3398 from RobLoach/patch-3
...
[Emscripten] Clean up the log textarea
2016-08-17 13:54:12 -05:00
Rob Loach
53ccbcc27a
[Emscripten] Use the Bootstrap control for the log
2016-08-17 14:23:24 -04:00
Rob Loach
dd8b19578b
[Emscripten] Fix the CSS styling for the log
2016-08-17 14:22:21 -04:00
Rob Loach
60eddd189d
[Emscripten] Improve the textarea styling
2016-08-17 14:17:26 -04:00
Rob Loach
b7efb36099
[Emscripten] Center-align and darken the player
2016-08-17 14:11:48 -04:00
Rob Loach
6db5a423fa
Update webplayer.js
2016-08-17 13:52:39 -04:00
Rob Loach
7602ce5bc9
[Emscripten] Fix disabling the vsync
2016-08-17 13:50:43 -04:00