Commit graph

11 commits

Author SHA1 Message Date
James R
fccdefb840 Audio: fix GME not reporting song length most of the time
Now add the intro time and looping time together to get
the length of the song, if the length field itself is not
specified (it's usually not).
2023-03-30 23:18:17 -07:00
Eidolon
901ebdb5b0 Implement musicdef volume in new mixer 2023-03-09 15:12:24 -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
Oni
3d6b6a94b9 Merge branch 'fix-loopms' into 'master'
Fix songs that use LOOPMS not looping correctly

Closes #407

See merge request KartKrew/Kart!886
2023-01-14 03:50:10 +00:00
James R
f7787e45ec Expose current position for XMP 2023-01-12 04:41:16 -08:00
James R
398c137c1a Fix reported loop point for GME 2023-01-12 04:41:16 -08:00
James R
dbdda14061 Fix LOOPMS loop point for OGG player 2023-01-12 04:36:44 -08:00
Eidolon
f43de07fd1 cxx: clang-format adjustments 2023-01-09 20:02:19 -06:00
Eidolon
1b859f5073 cxx: Add srb2::Overload for using std::visit 2023-01-09 13:05:35 -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