mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Missing minus sign
This commit is contained in:
parent
2fa574684c
commit
a6fca49f7b
|
@ -28,7 +28,7 @@ impl Mixer {
|
|||
|
||||
for channel in channels {
|
||||
let right_amount = ((channel.panning + 1) / 2) * channel.volume;
|
||||
let left_amount = ((channel.panning + 1) / 2) * channel.volume;
|
||||
let left_amount = ((-channel.panning + 1) / 2) * channel.volume;
|
||||
|
||||
let right_amount: Num<i16, 4> = right_amount.change_base();
|
||||
let left_amount: Num<i16, 4> = left_amount.change_base();
|
||||
|
|
Loading…
Reference in a new issue