mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 07:06:41 +11:00
Remove is_done check in for loop
This commit is contained in:
parent
f4779208e3
commit
57f0a8c889
1 changed files with 1 additions and 5 deletions
|
@ -422,11 +422,7 @@ impl MixerBuffer {
|
|||
) {
|
||||
working_buffer.fill(0.into());
|
||||
|
||||
for channel in channels {
|
||||
if channel.is_done {
|
||||
continue;
|
||||
}
|
||||
|
||||
for channel in channels.filter(|channel| !channel.is_done) {
|
||||
let playback_speed = if channel.is_stereo {
|
||||
2.into()
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue