diff options
author | Kewlan <colin_rehn@hotmail.com> | 2020-06-25 21:05:03 +0200 |
---|---|---|
committer | Kewlan <colin_rehn@hotmail.com> | 2020-06-26 06:03:29 +0200 |
commit | 3eb8efc09574f7a49d11cccecc245674b7282fa2 (patch) | |
tree | 5da602910a7699078e570114b834ca7678b99521 /src/audio_core/stream.cpp | |
parent | d11baf8bf8655047737295544c161ecef7600fe0 (diff) |
Add a "Mute Audio" hotkey
Diffstat (limited to 'src/audio_core/stream.cpp')
-rw-r--r-- | src/audio_core/stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/stream.cpp b/src/audio_core/stream.cpp index 4ca98f8ea7..ca7cfb030b 100644 --- a/src/audio_core/stream.cpp +++ b/src/audio_core/stream.cpp @@ -67,7 +67,7 @@ s64 Stream::GetBufferReleaseCycles(const Buffer& buffer) const { } static void VolumeAdjustSamples(std::vector<s16>& samples, float game_volume) { - const float volume{std::clamp(Settings::values.volume - (1.0f - game_volume), 0.0f, 1.0f)}; + const float volume{std::clamp(Settings::Volume() - (1.0f - game_volume), 0.0f, 1.0f)}; if (volume == 1.0f) { return; |