diff --git a/src/ui/levelprovider.rs b/src/ui/levelprovider.rs index 9398a61..8098c60 100644 --- a/src/ui/levelprovider.rs +++ b/src/ui/levelprovider.rs @@ -50,7 +50,7 @@ impl LevelbarProvider { let stream: Stream = Stream::new(&core, "peakdetect", props)?; let listener = stream.add_local_listener::() - .process(clone!(@weak volumebox => @default-panic, move |stream, last_peak| { + .process(clone!(@weak volumebox => @default-return (), move |stream, last_peak| { match stream.dequeue_buffer() { None => println!("No buffer received"), Some(mut buffer) => {