Charlie Birks
Charlie Birks
I've made an initial attempt at this: https://github.com/Daft-Freak/SDL/tree/audio-worklet. Seems to work reasonably well, but requires enabling threads.
Oh no, this needs threads enabled to even _compile_. (`-sAUDIO_WORKLET` requires `-sWASM_WORKERS`... which requires building for workers and then you get compile errors (something about atomics?) without `-pthread`) Wouldn't mind...
(Didn't notice these issues) Part ot the fix for this is changing the checks in the emscripten block to actually enable the backends: ``` if(SDL_AUDIO) set(SDL_AUDIO_DRIVER_EMSCRIPTEN 1) file(GLOB EM_AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/emscripten/*.c)...
Extremely late reply, but it looks like I adjusted both `pin_mask` (function) and `pin_count` (dir).
Last time I checked it broke some of the GL tests that relied on legacy emulation.
Seems #2310 has fixed one of the possible failures here, possibly replaced with more "invalid speed" panics. Otherwise seems the same.
Any hints on where to look for someone with the hardware and too much free time?
SDL2 has http://wiki.libsdl.org/SDL_SetEventFilter. Also `SetWindowFullscreen` is already implemented using the html5 api and seems to work(Ctrl+Enter in most of the tests). Creating a window fullscreen doesn't work though.
> Would something like MemoryView work? https://marketplace.visualstudio.com/items?itemName=mcu-debug.memory-view Seems to work. This does look like an interesting idea, though the ubuntu upgrade seems to have broken pulseview... (driver list is empty?...
Hmm, libserialport doesn't like using a PTY as a virtual serial port(https://sigrok.org/bugzilla/show_bug.cgi?id=1642) and the OLS driver doesn't work over TCP (https://sigrok.org/bugzilla/show_bug.cgi?id=1490)... so realtime might be a bit tricky. Time to...