forked from metin-server/m2dev-client-src
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:
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user