Separate MxCore counter (#663)

This commit is contained in:
MS
2024-03-12 14:59:39 -04:00
committed by GitHub
parent 62a3f50287
commit dcc3946a08
7 changed files with 28 additions and 21 deletions

View File

@@ -297,7 +297,7 @@ void MxWavePresenter::SetVolume(MxS32 p_volume)
m_volume = p_volume;
if (m_dsBuffer != NULL) {
MxS32 volume = p_volume * MxOmni::GetInstance()->GetSoundManager()->GetVolume() / 100;
MxS32 otherVolume = MxOmni::GetInstance()->GetSoundManager()->FUN_100aecf0(volume);
MxS32 otherVolume = MxOmni::GetInstance()->GetSoundManager()->GetAttenuation(volume);
m_dsBuffer->SetVolume(otherVolume);
}