Browse Source

Fix audio mute by removing minimum volume limit

pull/3194/head
MaranBr 1 month ago
parent
commit
66ee197ab8
  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