diff options
author | XANTRONIX Development | 2022-02-01 20:35:21 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-01 20:35:21 -0500 |
commit | 96054982a19628d603642c621c16663bdbe27bc4 (patch) | |
tree | 773dd54f8312451f786565de675f672a562bc494 /src | |
parent | 27960adc8926dbcc0399bf1b2f8408ebeaaa5700 (diff) | |
download | xas-96054982a19628d603642c621c16663bdbe27bc4.tar.gz xas-96054982a19628d603642c621c16663bdbe27bc4.tar.bz2 xas-96054982a19628d603642c621c16663bdbe27bc4.zip |
Make negative numbers pan to left
Diffstat (limited to 'src')
-rw-r--r-- | src/mixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixer.c b/src/mixer.c index 3b49ba2..32c557d 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -207,8 +207,8 @@ static inline void input_set_pan(xas_mixer_input *input, float pan) { cosf_angle = cosf(angle); sinf_angle = sinf(angle); - input->bias_l = term * (cosf_angle + sinf_angle); - input->bias_r = term * (cosf_angle - sinf_angle); + input->bias_l = term * (cosf_angle - sinf_angle); + input->bias_r = term * (cosf_angle + sinf_angle); } xas_mixer_input *xas_mixer_input_add(xas_mixer *mixer, |