From 4d278dfdea714d596a9f54bb7340d6d7750337c4 Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Sat, 16 Dec 2023 12:05:14 -0500 Subject: [PATCH] Pow pow t'es mow. --- SQCSim2021/audio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);