Oni
713cb57486
Merge branch 'vape-mode' into 'master'
...
Slow down level music in Encore - "vape mode"
See merge request KartKrew/Kart!1359
2023-08-03 14:11:40 +00:00
James R
68293dfeb3
srb2::audio::Gme::seek: use gme_seek instead of gme_seek_samples
...
Fixes seeking only halfway. gme_seek_samples counts
samples for BOTH channels.
2023-08-02 00:08:40 -07:00
James R
2064dda3aa
srb2::audio::Resampler: add ratio method to change resample rate on the fly
2023-08-01 19:04:30 -07:00
Eidolon
743c9fe8ef
Only throw XmpException on negative seek pos
2023-07-30 10:21:05 -05:00
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