From 19ca315509be2f5a53336b505fdd4a88d626ed9b Mon Sep 17 00:00:00 2001 From: talwat <83217276+talwat@users.noreply.github.com> Date: Fri, 8 Aug 2025 20:12:13 +0200 Subject: [PATCH] fix: make lowfi compile on non-linux --- src/player.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/player.rs b/src/player.rs index cfa2feb..9136e5f 100644 --- a/src/player.rs +++ b/src/player.rs @@ -122,6 +122,9 @@ impl Player { OutputStreamBuilder::open_default_stream()? }; + #[cfg(not(target_os = "linux"))] + let mut stream = OutputStreamBuilder::open_default_stream()?; + stream.log_on_drop(false); // Frankly, this is a stupid feature. Stop shoving your crap into my beloved stderr!!! let sink = Sink::connect_new(stream.mixer());