diff --git a/agb/examples/mixer_32768.rs b/agb/examples/mixer_32768.rs index a37aca62..6dc338ae 100644 --- a/agb/examples/mixer_32768.rs +++ b/agb/examples/mixer_32768.rs @@ -43,7 +43,6 @@ fn main(mut gba: Gba) -> ! { let mut mixer = gba.mixer.mixer(Frequency::Hz32768); mixer.enable(); - let _interrupt = mixer.setup_interrupt_handler(); let mut channel = SoundChannel::new(CRAZY_GLUE); channel.stereo(); diff --git a/agb/examples/mixer_basic.rs b/agb/examples/mixer_basic.rs index e3fc76f9..80375d77 100644 --- a/agb/examples/mixer_basic.rs +++ b/agb/examples/mixer_basic.rs @@ -51,6 +51,5 @@ fn main(mut gba: Gba) -> ! { mixer.frame(); vblank_provider.wait_for_vblank(); - mixer.after_vblank(); } } diff --git a/agb/examples/stereo_sound.rs b/agb/examples/stereo_sound.rs index 1af3eb6c..9e982aae 100644 --- a/agb/examples/stereo_sound.rs +++ b/agb/examples/stereo_sound.rs @@ -32,7 +32,6 @@ fn main(mut gba: Gba) -> ! { writeln!(&mut writer, "Let it in by Josh Woodward").unwrap(); - writer.commit(); bg.commit(&mut vram); @@ -58,7 +57,6 @@ fn main(mut gba: Gba) -> ! { bg.commit(&mut vram); let before_mixing_cycles = timer.value(); - mixer.after_vblank(); mixer.frame(); let after_mixing_cycles = timer.value();