From a4dd55fb282114aaeb0fd444e23f0db3151d15e1 Mon Sep 17 00:00:00 2001 From: talwat <83217276+talwat@users.noreply.github.com> Date: Sat, 22 Feb 2025 13:08:22 +0100 Subject: [PATCH] fix: incorrect variable name on linux --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/player.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index edc3a9f..45f0a4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1453,7 +1453,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lowfi" -version = "1.6.0-dev" +version = "1.6.1-dev" dependencies = [ "Inflector", "arc-swap", diff --git a/Cargo.toml b/Cargo.toml index 6d24c6a..c88291e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lowfi" -version = "1.6.0-dev" +version = "1.6.1-dev" edition = "2021" description = "An extremely simple lofi player." license = "MIT" diff --git a/src/player.rs b/src/player.rs index 8edc10d..fe111a0 100644 --- a/src/player.rs +++ b/src/player.rs @@ -182,7 +182,7 @@ impl Player { // We should only shut up alsa forcefully on Linux if we really have to. #[cfg(target_os = "linux")] - let (_stream, handle) = if !args.alternate && !args.debug { + let (stream, handle) = if !args.alternate && !args.debug { Self::silent_get_output_stream()? } else { OutputStream::try_default()?