Skip to content

Audio Worklets fail with STRICT #22971

@cwoffenden

Description

@cwoffenden

This is in the latest Emscripten:

emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.73-git (299be0bbfbbadfa926cb69380f0fffa3703b26c7)

Building any of the Audio Worklet tests with -sSTRICT compiles but fails to run:

emcc -sAUDIO_WORKLET -sWASM_WORKERS -sSTRICT audio_worklet_tone_generator.c

The browser errors being variations of missing API calls, e.g.:

Aborted(`Module.wasmMemory` was supplied but `wasmMemory` not included in INCOMING_MODULE_JS_API)

The suggestion here being to add it:

#22753 (comment)

(This can be assigned to me and I'll look at it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions