Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrGlad committed Dec 26, 2024
1 parent 9af97ba commit 5bf9dc3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions examples/noise_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ fn main() -> Result<(), Box<dyn Error>> {
let noise_duration = Duration::from_millis(1000);
let interval_duration = Duration::from_millis(1500);

stream_handle.mixer().add(
white(48000)
.amplify(0.1)
.take_duration(noise_duration),
);
stream_handle
.mixer()
.add(white(48000).amplify(0.1).take_duration(noise_duration));
println!("Playing white noise");

thread::sleep(interval_duration);
Expand Down

0 comments on commit 5bf9dc3

Please sign in to comment.