diff --git a/agb/examples/beep.rs b/agb/examples/beep.rs index 7d4c7e62..e6f6cefa 100644 --- a/agb/examples/beep.rs +++ b/agb/examples/beep.rs @@ -27,9 +27,13 @@ pub fn main() -> ! { sound::dmg::DutyCycle::Half, ); - gba.sound - .noise() - .play_sound(Some(0), &sound::EnvelopeSettings::default(), 4, false, 1); + gba.sound.noise().play_sound( + Some(0), + &sound::dmg::EnvelopeSettings::default(), + 4, + false, + 1, + ); loop {} }