Commit Graph
24 Commits
Author SHA1 Message Date
kichikuou 6f5933adaf 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.
2026-08-03 17:09:59 +09:00
kichikuou a819fafd56 Android/Windows: Update SDL to 2.32.10 2025-11-04 10:44:34 +09:00
kichikuou 258f63e98c Android/Windows: Update SDL to 2.32.2 2025-03-06 10:50:18 +09:00
kichikuou e526cac55f Android/Windows: Update SDL libraries
- SDL2 2.30.6
- SDL2_ttf 2.22.0
- SDL2_mixer 2.8.0
2024-08-17 16:46:15 +09:00
kichikuou cde49a4e5a Android/Windows: Upgrade SDL to 2.30.2 2024-04-07 21:46:36 +09:00
kichikuou cffdfdcd94 Require CMake 3.14 or later
To use FetchContent_MakeAvailable.
2024-01-13 15:40:51 +09:00
kichikuou 6996482362 Move CMakeLists.txt to project root 2024-01-11 13:28:18 +09:00
kichikuou 2e4d452aa8 Android/Windows: Upgrade SDL to 2.28.5 2023-11-17 13:36:38 +09:00
kichikuou f1e4c2501f Android/Windows: Upgrade SDL to 2.28.2 2023-08-06 21:33:43 +09:00
kichikuou 431be235d6 Android: Add support for PCM sound
Now android/mako.cpp depends on SDL_mixer, and CD-DA is also played with
SDL_mixer.
2023-03-18 13:49:36 +09:00
kichikuou 6e4a0bacaf Android: Add license notice for ymfm 2023-01-14 11:29:35 +09:00
kichikuou caebf8fc52 Android: Add activities to display open source notices 2023-01-08 11:48:22 +09:00
kichikuou 05be66eac3 Android: Upgrade SDL and SDL_ttf
- SDL 2.26.1
- SDL_ttf 2.20.1
2022-12-29 15:31:54 +09:00
kichikuou ad86883e42 MSVS, Android: Update SDL2 to 2.0.22 2022-08-07 21:32:31 +09:00
kichikuou 1fa9112023 Android: Upgrade SDL and SDL_ttf
- SDL 2.0.20
- SDL_ttf 2.0.18
2022-01-22 09:34:51 +09:00
kichikuou b7634e9366 Android: Update build instructions
Require CMake 3.20+, because after upgrading the Android Gradle plugin
build with CMake <3.20 fails with the following error:

  Execution failed for task ':app:buildCMakeDebug'.
  > Expected output file at (...)obj/armeabi-v7a/libSDL2.so for target
  SDL2 but there was none
2021-12-22 14:59:48 +09:00
kichikuou 70277c7c51 Android: Upgrade SDL to 2.0.18 2021-12-22 13:40:52 +09:00
kichikuou f8b0cd382e Android: Update SDL2 to 2.0.16 2021-09-19 13:50:46 +09:00
kichikuou 7012210fc4 Android: Update SDL2_ttf
And it's now fetched from the official GitHub repository.
2021-02-21 22:16:24 +09:00
kichikuou a12fbcf906 Android: Update SDL2 to 2.0.14 2021-01-01 12:37:22 +09:00
kichikuou b475c465fd Android: Update SDL2 to 2.0.12 2020-03-13 16:28:31 +09:00
kichikuou 8577374fc2 Android: 32-bit ABI support 2020-01-05 12:27:43 +09:00
kichikuou d38c946fd7 Android: Build rules
This sets up Gradle / CMake rules for Android build.
2019-12-31 11:30:09 +09:00
kichikuou 5d38f0c4e9 Android: Import android project files from SDL
This just copies android-project/ directory of https://hg.libsdl.org/SDL/
(rev 13383) to android/.
2019-12-31 11:29:43 +09:00