Skip to content

Commit

Permalink
Tweak sound: Louder music, interpolated SFX
Browse files Browse the repository at this point in the history
  • Loading branch information
jorio committed Feb 3, 2022
1 parent 18ddc37 commit 1f06890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/support/cmixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 1f06890

Please sign in to comment.