Browse Source

[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>
video-core-improve-dma-logic
MaranBr 3 days ago
committed by crueter
parent
commit
e6850cbad5
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 1
      src/audio_core/sink/sink_stream.cpp

1
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) {

Loading…
Cancel
Save