Commit graph

17 commits

Author SHA1 Message Date
Sally Coolatta
9d9864c983 SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04: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
448b54c41c Make master volume an independent gain control
Master volume should control after-mixing gain; the idea is the mixed
output of sfx and music's amplitude should never exceed
`cv_mastervolume`. Setting each submixer's gain independently will
still allow the master mixer to exceed that preferred volume, which was
the main issue with the SDL_Mixer backend. So, instead we use a separate
gain control that is applied after everything is mixed.
2024-01-12 19:06:19 -06:00
toaster
de60a2dbba new_sound.cpp: Compilation fix for non-TRACY 2023-09-19 18:46:23 +01:00
Eidolon
01240b1bd6 Tracy instrument new audio callback 2023-09-18 16:18:51 -05:00
Eidolon
42e5646c15 Add Tracy frame time instrumentation 2023-09-18 16:16:08 -05:00
James R
b681fe226a Add Resampler to music filter chain, let I_SetSongSpeed do something 2023-08-01 19:04:30 -07:00
Eidolon
901ebdb5b0 Implement musicdef volume in new mixer 2023-03-09 15:12:24 -06:00
Eidolon
11fecebc47 Make AVRecorder WebM an optional part of the build 2023-02-26 20:18:05 -06:00
James R
fa0071e785 sdl/new_sound.cpp: record audio with AVRecorder 2023-02-24 19:21:01 -08: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
Eidolon
01ddbf6dcf (WIP) hardware: add render hardware interface 2023-01-14 18:40:26 -06:00
James R
d5302d9e5d Merge branch 'clang-format-adjustments' into 'master'
cxx: clang-format adjustments

See merge request KartKrew/Kart!880
2023-01-12 19:09:41 -08:00
James R
49c5c785bf Remove musictype_t, S_MusicType and I_SongType return implementation string
Lua API change: S_MusicType now returns string instead of number
2023-01-12 02:50:02 -08:00
Eidolon
f43de07fd1 cxx: clang-format adjustments 2023-01-09 20:02:19 -06:00
Eidolon
9f649d7701 audio: conditionally shutdown SFX/Music players
Fixes a potential segfault during startup where the sound hasn't been
initialized yet, but an I_Error occurs while loading data.
2023-01-09 14:58:59 -06: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