mirror of
https://github.com/RustAudio/rodio
synced 2024-12-04 17:29:20 +00:00
Cleanup
Code reformatted. Removed experimental code.
This commit is contained in:
parent
179d41a53e
commit
af92566321
2 changed files with 0 additions and 10 deletions
|
@ -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};
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue