Skip to content

Commit

Permalink
fix: demo-player
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelOsborne committed Feb 2, 2024
1 parent d6b9b72 commit 2ce87e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions demo-player/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ impl Observer for DummyObserver2 {
fn on_load(&self) {
println!("on_load2");
}
fn on_load_error(&self) {
println!("on_load_error2");
}
fn on_loop(&self, loop_count: u32) {
println!("on_loop2: {}", loop_count);
}
Expand Down Expand Up @@ -62,6 +65,9 @@ impl Observer for DummyObserver {
fn on_load(&self) {
println!("on_load {} ", self.id);
}
fn on_load_error(&self) {
println!("on_load_error {} ", self.id);
}
fn on_loop(&self, loop_count: u32) {
println!("on_loop {}: {}", self.id, loop_count);
}
Expand Down

0 comments on commit 2ce87e6

Please sign in to comment.