From 1f06890cbddd90bbf15ebffd16872570bf474b5b Mon Sep 17 00:00:00 2001 From: Iliyas Jorio Date: Wed, 2 Feb 2022 23:56:19 +0100 Subject: [PATCH] Tweak sound: Louder music, interpolated SFX --- src/music.cpp | 2 +- src/support/cmixer.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/music.cpp b/src/music.cpp index aff1bec..d1ccd45 100644 --- a/src/music.cpp +++ b/src/music.cpp @@ -30,7 +30,7 @@ void EnableMusic( MBoolean on ) { if (s_musicChannel) { - s_musicChannel->SetGain(on? 0.75: 0.0); + s_musicChannel->SetGain(on? 1.0: 0.0); } } diff --git a/src/support/cmixer.cpp b/src/support/cmixer.cpp index 552eff6..fe051b6 100644 --- a/src/support/cmixer.cpp +++ b/src/support/cmixer.cpp @@ -608,6 +608,7 @@ void cmixer::WavStream::InitFromWAVFile(const char* path) this->bitdepth = bitdepth; this->channels = channels; this->idx = 0; + this->interpolate = true; userBuffer.reserve(sz); for (int i = 0; i < sz; i++)