From a292246c20b517cffc9cf0bbf5fd1573b7410f4e Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Mon, 29 Jun 2020 12:22:58 +0200 Subject: [PATCH] Allow dead code for ALSA can_pause field --- src/host/alsa/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/host/alsa/mod.rs b/src/host/alsa/mod.rs index bce4549..acaf266 100644 --- a/src/host/alsa/mod.rs +++ b/src/host/alsa/mod.rs @@ -436,6 +436,7 @@ struct StreamInner { // Minimum number of samples to put in the buffer. period_len: usize, + #[allow(dead_code)] // Whether or not the hardware supports pausing the stream. can_pause: bool,