Audio Engine volume bug & small update

Fixed a bug where the volume change would be ignored if the sound was fading
Added SoundEngine::GetMusicVolume
Removed volume factor
Removed unused SetListenerVelocity
This commit is contained in:
Amun
2025-10-05 22:08:37 +03:00
parent de6817c338
commit 01f4417d80
5 changed files with 19 additions and 21 deletions

View File

@@ -56,6 +56,8 @@ public:
void SetMusicVolume(float volume);
float GetMusicVolume() const;
void SaveVolume(bool isMinimized);
void RestoreVolume();
@@ -67,8 +69,6 @@ public:
void SetListenerOrientation(float forwardX, float forwardY, float forwardZ,
float upX, float upY, float upZ);
void SetListenerVelocity(float x, float y, float z);
void Update();