Sally Coolatta
2926a547d8
SRB2 -> DRRR copyright in audio folder
2024-04-05 09:46:07 -04:00
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
Eidolon
bdc0795704
Fix several Clang compile warnings
2024-01-16 06:11:43 -05:00
James R
0de677055d
srb2::audio::Gme: seek on background thread
2023-12-29 00:27:36 -08:00
Eidolon
c5db728606
Immediately load 0-length sfx lumps as nullopt
2023-12-05 19:19:01 -06:00
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