Code reformatted.
Removed experimental code.
This commit is contained in:
Petr Gladkikh 2024-11-14 23:03:59 +04:00
parent 179d41a53e
commit af92566321
2 changed files with 0 additions and 10 deletions

View file

@ -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};

View file

@ -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);