aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 13aef6d6..09d7cb65 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -367,9 +367,9 @@ void GetBFormatHrtfCoeffs(const struct Hrtf *Hrtf, const ALuint num_chans, ALflo
z = sinf(elev);
ambi_coeffs[0] = 1.4142f;
- ambi_coeffs[1] = x; /* X */
- ambi_coeffs[2] = y; /* Y */
- ambi_coeffs[3] = z; /* Z */
+ ambi_coeffs[1] = y; /* Y */
+ ambi_coeffs[2] = z; /* Z */
+ ambi_coeffs[3] = x; /* X */
for(c = 0;c < num_chans;c++)
{