summaryrefslogtreecommitdiffstats
path: root/src/mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixer.c')
-rw-r--r--src/mixer.c4
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,