diff --git a/src/playbin2.rs b/src/playbin2.rs index f6f96cf..63ab22c 100644 --- a/src/playbin2.rs +++ b/src/playbin2.rs @@ -190,25 +190,25 @@ where 0 => { assert_eq!(&event.name, "volume"); self.volume_changed.emit(self, ()); - println!("new volume! {:?}", self.volume()); + dbg!(self.volume()); } 1 => { assert_eq!(&event.name, "mute"); self.muted_changed.emit(self, ()); - println!("new muted! {:?}", self.muted()); + dbg!(self.muted()); } 2 => { assert_eq!(&event.name, "pause"); self.paused_changed.emit(self, ()); - println!("new paused! {:?}", self.paused()); + dbg!(self.paused()); } 3 => { assert_eq!(&event.name, "playlist-pos"); self.current_entry_changed.emit(self, ()); - println!("new current_entry! {:?}", self.current_entry()); + dbg!(self.current_entry()); } _ => unreachable!(), diff --git a/src/signal.rs b/src/signal.rs index 946093a..6dfb290 100644 --- a/src/signal.rs +++ b/src/signal.rs @@ -121,7 +121,6 @@ impl SignalEmitter { handlers.swap(i, i + skip); } - println!("emitted to {i} listeners"); handlers.truncate(i); } }