diff --git a/examples/beep.rs b/examples/beep.rs index 686230c..671f1bf 100644 --- a/examples/beep.rs +++ b/examples/beep.rs @@ -49,7 +49,7 @@ fn main() -> Result<(), anyhow::Error> { eprintln!("an error occurred on stream: {}", err); })?; stream.play()?; - + std::thread::sleep(std::time::Duration::from_millis(1000)); Ok(())