Commit graph

7 commits

Author SHA1 Message Date
James R
4fe992b19d Let I_FadeSong be used in the middle of an existing fade
- Doing this so two fades can be installed at the end of
  the credits; 1 for normal playback speed, 2 for skip
  behavior
- I_FadeSong can now be used to speed up or slow down an
  existing fade
- Previously, calling I_FadeSong this way would jump to
  the previous target volume first, before starting a new
  fade
- Should make no regressions
2024-03-24 19:07:49 -07:00
Eidolon
640ad6bc1e Remove GME VGM music emulation
We cannot comply with the terms of the GPL in using and distributing
libgme due to MAME license incompatibility, so the feature needs to
be removed.
2024-01-29 15:54:20 -06:00
toaster
b6be0ef6e8 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into music-debug
# Conflicts:
#	src/audio/xmp.cpp
#	src/audio/xmp_player.cpp
#	src/sdl/new_sound.cpp
2023-01-22 15:20:14 +00:00
James R
f7787e45ec Expose current position for XMP 2023-01-12 04:41:16 -08:00
Eidolon
f43de07fd1 cxx: clang-format adjustments 2023-01-09 20:02:19 -06:00
James R
d2569dc3af Pass uint64_t literal to std::max
On 32-bit system, uint64_t is typedef to unsigned long long.
On 64-bit system, uint64_t is typedef to unsigned long.

unsigned long and unsigned long long are distinctly
separate types, which causes std::max template to fail.
2023-01-04 18:32:07 -08:00
Eidolon
8c259487b2 audio: Add pure-ISO C++17 audio mixer and backend
This replaces SDL2_mixer.
2023-01-04 16:51:12 -06:00