Re-implement custom trophy sounds using sdl3 mixer (#3805)

* re-implement custom trophy sounds using sdl3 mixer

* fix build vars

* Don't change SDL version
This commit is contained in:
rainmakerv2
2025-11-16 16:36:54 +08:00
committed by GitHub
parent 6a9f9abda0
commit ed14359c87
6 changed files with 52 additions and 45 deletions

View File

@@ -63,6 +63,18 @@ if (NOT TARGET SDL3::SDL3)
add_subdirectory(sdl3)
endif()
# SDL3_mixer
if (NOT TARGET SDL3_Mixer::SDL3_Mixer)
set(SDLMIXER_FLAC OFF)
set(SDLMIXER_OGG OFF)
set(SDLMIXER_MOD OFF)
set(SDLMIXER_MIDI OFF)
set(SDLMIXER_OPUS OFF)
set(SDLMIXER_WAVPACK OFF)
set(BUILD_SHARED_LIBS OFF)
add_subdirectory(sdl3_mixer)
endif()
# vulkan-headers
if (NOT TARGET Vulkan::Headers)
set(VULKAN_HEADERS_ENABLE_MODULE OFF)

1
externals/sdl3_mixer vendored Submodule

Submodule externals/sdl3_mixer added at 4182794ea4