Skip to content

Fix WASM runtime audio, JPEG decoding, device fonts, and loadMovie ordering - #26

Merged
ClausValcaTD merged 4 commits into
mainfrom
fix-wasm-audio-jpeg-glyphs-loadmovie-13552641178702591574
Oct 4, 2026
Merged

ClausValcaTD merged 4 commits into
mainfrom
fix-wasm-audio-jpeg-glyphs-loadmovie-13552641178702591574

Conversation

@ClausValcaTD

Copy link
Copy Markdown
Contributor

Fix WASM runtime audio playback, JPEG image loading, missing device font glyphs, and loadMovie event ordering.

  • Implement sound_handler_wasm in src/wasm_api.cpp to stream PCM samples into AudioMixer
  • Enable -sUSE_LIBJPEG=1 and TU_CONFIG_LINK_TO_JPEGLIB=1 in CMakeLists.txt for WASM
  • Implement glyph_provider_wasm in src/gameswf_render_wasm.cpp to handle missing Japanese/device fonts
  • Defer onEnterFrame execution for sibling clips during loadMovie in gameswf_sprite.cpp/h
  • Refine tu_timer.cpp time_t guards for Windows/Emscripten build compatibility

PR created automatically by Jules for task 13552641178702591574 started by @ClausValcaTD

…dering

- Implement sound_handler_wasm in src/wasm_api.cpp to stream PCM samples into AudioMixer
- Enable -sUSE_LIBJPEG=1 and TU_CONFIG_LINK_TO_JPEGLIB=1 in CMakeLists.txt for WASM
- Implement glyph_provider_wasm in src/gameswf_render_wasm.cpp to handle missing Japanese/device fonts
- Defer onEnterFrame execution for sibling clips during loadMovie in gameswf_sprite.cpp/h
- Refine tu_timer.cpp time_t guards for Windows/Emscripten build compatibility

Co-authored-by: ClausValcaTD <193546948+ClausValcaTD@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 3 commits October 4, 2026 11:05
…dering

- Implement sound_handler_wasm in src/wasm_api.cpp to stream PCM samples into AudioMixer
- Enable -sUSE_LIBJPEG=1 and TU_CONFIG_LINK_TO_JPEGLIB=1 in CMakeLists.txt for WASM
- Implement glyph_provider_wasm in src/gameswf_render_wasm.cpp to handle missing Japanese/device fonts
- Defer onEnterFrame execution for sibling clips during loadMovie in gameswf_sprite.cpp/h
- Refine tu_timer.cpp time_t guards for Windows/Emscripten build compatibility

Co-authored-by: ClausValcaTD <193546948+ClausValcaTD@users.noreply.github.com>
…dering

- Implement sound_handler_wasm in src/wasm_api.cpp to stream PCM samples into AudioMixer
- Enable -sUSE_LIBJPEG=1 and TU_CONFIG_LINK_TO_JPEGLIB=1 in CMakeLists.txt for WASM
- Implement glyph_provider_wasm in src/gameswf_render_wasm.cpp to handle missing Japanese/device fonts
- Defer onEnterFrame execution for sibling clips during loadMovie in gameswf_sprite.cpp/h
- Refine tu_timer.cpp time_t guards for Windows/Emscripten build compatibility

Co-authored-by: ClausValcaTD <193546948+ClausValcaTD@users.noreply.github.com>
…dering

- Implement sound_handler_wasm in src/wasm_api.cpp to stream PCM samples into AudioMixer
- Enable -sUSE_LIBJPEG=1 and TU_CONFIG_LINK_TO_JPEGLIB=1 in CMakeLists.txt for WASM
- Implement glyph_provider_wasm in src/gameswf_render_wasm.cpp to handle missing Japanese/device fonts
- Defer onEnterFrame execution for sibling clips during loadMovie in gameswf_sprite.cpp/h
- Refine tu_timer.cpp time_t guards for Windows/Emscripten build compatibility

Co-authored-by: ClausValcaTD <193546948+ClausValcaTD@users.noreply.github.com>
@ClausValcaTD
ClausValcaTD merged commit c2602bb into main Oct 4, 2026
2 of 5 checks passed
@ClausValcaTD
ClausValcaTD deleted the fix-wasm-audio-jpeg-glyphs-loadmovie-13552641178702591574 branch October 4, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant