diff --git a/examples/noise_generator.rs b/examples/noise_generator.rs index 867200d..0bd1ee5 100644 --- a/examples/noise_generator.rs +++ b/examples/noise_generator.rs @@ -1,7 +1,5 @@ //! Noise generator example. Use the "noise" feature to enable the noise generator sources. -use std::io::BufReader; - #[cfg(feature = "noise")] fn main() { use rodio::source::{pink, white, Source}; diff --git a/src/dynamic_mixer.rs b/src/dynamic_mixer.rs index 450152f..14c488c 100644 --- a/src/dynamic_mixer.rs +++ b/src/dynamic_mixer.rs @@ -207,14 +207,6 @@ mod tests { use std::sync::atomic::Ordering::{Acquire, Release}; use std::sync::Arc; - #[test] - pub fn fff() { - let r = Arc::new(AtomicU8::new(12)); - let c = r.clone(); - r.store(44, Release); - assert_eq!(r.load(Acquire), c.load(Acquire)); - } - #[test] fn basic() { let (tx, mut rx) = dynamic_mixer::mixer(1, 48000);