Merge pull request #12 from sndth/fix-audio-casting-warnings

Fix potential casting warnings inside AudioLib
This commit is contained in:
d1str4ught
2025-09-02 12:07:03 +02:00
committed by GitHub
3 changed files with 11 additions and 11 deletions

View File

@@ -89,10 +89,10 @@ private:
// One song at a time, but holding both current and previous for graceful fading
std::array<MaSoundInstance, 2> m_Music;
int m_CurrentMusicIndex{};
float m_MusicVolume{ 1.0 };
float m_SoundVolume{ 1.0 };
float m_MusicVolume{ 1.0f };
float m_SoundVolume{ 1.0f };
float m_MasterVolume{ 1.0 };
float m_MasterVolume{ 1.0f };
float m_MasterVolumeFadeTarget{};
float m_MasterVolumeFadeRatePerFrame{};
};