emscripten icon indicating copy to clipboard operation
emscripten copied to clipboard

Support `formats` option in sdl2 mixer

Open ryanking13 opened this issue 8 months ago • 1 comments

This PR adds handle_options function in the SDL2_mixer port so one can build SDL2_mixer with specific formats with embuilder, such as

embuilder build sdl2_mixer:formats:mid,ogg,mp3

I found this syntax was added in https://github.com/emscripten-core/emscripten/pull/21345, but it was only applied to SDL2_image.

ryanking13 avatar Apr 21 '25 11:04 ryanking13

I added some tests, but it seems like FROZEN_CACHE is not happy with sdl2_mixer variants, hmm...

ryanking13 avatar Apr 22 '25 12:04 ryanking13