diff --git a/agb/examples/mixer_basic.rs b/agb/examples/mixer_basic.rs index ad29463c..f94257fb 100644 --- a/agb/examples/mixer_basic.rs +++ b/agb/examples/mixer_basic.rs @@ -46,6 +46,14 @@ fn main(mut gba: Gba) -> ! { } else { channel.volume(1); } + + if input.is_pressed(Button::A) { + channel.resume(); + } + + if input.is_pressed(Button::B) { + channel.pause(); + } } }