shithub: candycrisis

Download patch

ref: 1f06890cbddd90bbf15ebffd16872570bf474b5b
parent: 18ddc37a06a82b135bfc18d840cdbc85600932cd
author: Iliyas Jorio <[email protected]>
date: Wed Feb 2 18:56:19 EST 2022

Tweak sound: Louder music, interpolated SFX

--- a/src/music.cpp
+++ b/src/music.cpp
@@ -30,7 +30,7 @@
 {
     if (s_musicChannel)
     {
-        s_musicChannel->SetGain(on? 0.75: 0.0);
+        s_musicChannel->SetGain(on? 1.0: 0.0);
     }
 }
 
--- a/src/support/cmixer.cpp
+++ b/src/support/cmixer.cpp
@@ -608,6 +608,7 @@
     this->bitdepth = bitdepth;
     this->channels = channels;
     this->idx = 0;
+	this->interpolate = true;
 
     userBuffer.reserve(sz);
     for (int i = 0; i < sz; i++)