Fix the example after rebase

This commit is contained in:
Gwilym Kuiper 2021-06-06 14:21:03 +01:00
parent 3f3b34c250
commit 333797332e

View file

@ -27,9 +27,13 @@ pub fn main() -> ! {
sound::dmg::DutyCycle::Half, sound::dmg::DutyCycle::Half,
); );
gba.sound gba.sound.noise().play_sound(
.noise() Some(0),
.play_sound(Some(0), &sound::EnvelopeSettings::default(), 4, false, 1); &sound::dmg::EnvelopeSettings::default(),
4,
false,
1,
);
loop {} loop {}
} }