diff options
| author | MaranBr <maranbr@outlook.com> | 2025-12-27 01:17:20 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-12-27 01:17:20 +0100 |
| commit | e6850cbad57834b9c7529bd60e5242c00105660e (patch) | |
| tree | b2f3d953c030c9cf80d4e13ffe552ff08dbcbb59 /src | |
| parent | cfae726289e38008ace558ab8bd42fd5189a3ab6 (diff) | |
[audio_core] Fix audio mute by removing minimum volume limit (#3194)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3194
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-by: Lizzie <lizzie@eden-emu.dev>
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/audio_core/sink/sink_stream.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/audio_core/sink/sink_stream.cpp b/src/audio_core/sink/sink_stream.cpp index d6e8044d62..3655ae8f69 100644 --- a/src/audio_core/sink/sink_stream.cpp +++ b/src/audio_core/sink/sink_stream.cpp @@ -32,7 +32,6 @@ void SinkStream::AppendBuffer(SinkBuffer& buffer, std::span<s16> samples) { auto yuzu_volume = Settings::Volume(); if (yuzu_volume > 1.0f) yuzu_volume = 0.6f + 20.0f * std::log10(yuzu_volume); - yuzu_volume = std::max(yuzu_volume, 0.001f); auto const volume = system_volume * device_volume * yuzu_volume; if (system_channels > device_channels) { |
