diff --git a/SQCSim2021/audio.cpp b/SQCSim2021/audio.cpp index 97bed1c..5950abe 100644 --- a/SQCSim2021/audio.cpp +++ b/SQCSim2021/audio.cpp @@ -11,9 +11,9 @@ Audio::Audio() { Audio::Audio(const char * music, const char* menumusic) { m_engine = irrklang::createIrrKlangDevice(); m_engine->setDopplerEffectParameters(1); - m_engine->setRolloffFactor(2); - m_engine->setDefault3DSoundMinDistance(.1); - m_engine->setDefault3DSoundMaxDistance(1000); + m_engine->setRolloffFactor(1); + m_engine->setDefault3DSoundMinDistance(1); + m_engine->setDefault3DSoundMaxDistance(100); m_music = m_engine->play2D(music, true, true, true, irrklang::ESM_STREAMING); m_menumusic = m_engine->play2D(menumusic, true, true, true, irrklang::ESM_STREAMING); m_music->setVolume(.5);