diff --git a/src/player/audio.rs b/src/player/audio.rs index f9fe92b..2fc9e6d 100644 --- a/src/player/audio.rs +++ b/src/player/audio.rs @@ -1,10 +1,8 @@ /// This gets the output stream while also shutting up alsa with [libc]. /// Uses raw libc calls, and therefore is functional only on Linux. #[cfg(target_os = "linux")] -pub fn silent_get_output_stream() -> eyre::Result { - use crate::player; +pub fn silent_get_output_stream() -> eyre::Result { use libc::freopen; - use rodio::OutputStream; use rodio::OutputStreamBuilder; use std::ffi::CString;