mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Fix clippy warning
This commit is contained in:
parent
e181f7a751
commit
3f3b34c250
|
@ -39,7 +39,7 @@ impl Mixer {
|
||||||
let mut has_finished = false;
|
let mut has_finished = false;
|
||||||
|
|
||||||
if let Some(some_channel) = channel {
|
if let Some(some_channel) = channel {
|
||||||
self.buffer.write_channel(&some_channel);
|
self.buffer.write_channel(some_channel);
|
||||||
some_channel.pos += SOUND_BUFFER_SIZE;
|
some_channel.pos += SOUND_BUFFER_SIZE;
|
||||||
|
|
||||||
if some_channel.pos >= some_channel.data.len() {
|
if some_channel.pos >= some_channel.data.len() {
|
||||||
|
|
Loading…
Reference in a new issue