mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Reinstate panning
This commit is contained in:
parent
bcee6be7df
commit
898620112b
|
@ -105,8 +105,8 @@ impl MixerBuffer {
|
|||
let v: Num<i16, 4> = v.into();
|
||||
channel.pos += channel.playback_speed;
|
||||
|
||||
buffer[i] += v;
|
||||
buffer[i + SOUND_BUFFER_SIZE] += v;
|
||||
buffer[i] += v * left_amount;
|
||||
buffer[i + SOUND_BUFFER_SIZE] += v * right_amount;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue