From b0d403f99eeb81bf9212d5e55c08d2da51744a93 Mon Sep 17 00:00:00 2001 From: CrackedPixel <5776225+CrackedPixel@users.noreply.github.com> Date: Wed, 22 Apr 2026 18:29:29 -0500 Subject: [PATCH] reduce to 128kb --- examples/Makefile.Web | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Makefile.Web b/examples/Makefile.Web index 497a8719e..95ea17290 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -1596,8 +1596,9 @@ audio/audio_sound_positioning: audio/audio_sound_positioning.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ --preload-file audio/resources/coin.wav@resources/coin.wav +# spectrum example needs a higher stack, 128kb from the default 64kb audio/audio_spectrum_visualizer: audio/audio_spectrum_visualizer.c - $(CC) -o $@$(EXT) $< -sSTACK_SIZE=2097152 $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ + $(CC) -o $@$(EXT) $< -sSTACK_SIZE=131072 $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ --preload-file audio/resources/shaders/glsl100/fft.fs@resources/shaders/glsl100/fft.fs \ --preload-file audio/resources/country.mp3@resources/country.mp3