mirror of
https://github.com/talwat/lowfi
synced 2025-08-14 05:23:41 +00:00
fix: make lowfi compile on non-linux
This commit is contained in:
parent
620b568926
commit
19ca315509
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user