mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-11 16:58:11 +03:00
Replace SDL_mixer with dr_mp3/stb_vorbis + SDL audio
- MP3/OGG files are now decoded with dr_mp3 and stb_vorbis via the new MakoMusic backend. - Merge src/win/mako.cpp into src/generic/mako.cpp: Windows now uses the same SDL audio path. - A single SDL2 audio device mixes FM, BGM and PCM in its callback with SDL_MixAudioFormat. - PCM plays through SDL_AudioStream. - dr_mp3 and stb_vorbis are vendored under deps/ and included from mako_music.cpp. Warnings for that translation unit are silenced.
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Install Deps
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev librtmidi-dev nlohmann-json3-dev
|
||||
sudo apt install libsdl2-dev libsdl2-ttf-dev librtmidi-dev nlohmann-json3-dev
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user