mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-03 21:51:34 +11:00
Reset the volume each time a new sound is played
This commit is contained in:
parent
07b00f11e1
commit
515bcb13ca
|
@ -144,7 +144,8 @@ impl TrackerChannel {
|
||||||
.restart_point(sample.restart_point);
|
.restart_point(sample.restart_point);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.channel_id = mixer.play_sound(new_channel)
|
self.channel_id = mixer.play_sound(new_channel);
|
||||||
|
self.volume = 1.into();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn apply_effect(
|
fn apply_effect(
|
||||||
|
|
Loading…
Reference in a new issue