Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Code reformatted.
Removed experimental code.
  • Loading branch information
PetrGlad committed Nov 14, 2024
1 parent 179d41a commit af92566
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions examples/noise_generator.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
8 changes: 0 additions & 8 deletions src/dynamic_mixer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit af92566

Please sign in to comment.