diff options
author | Chris Robinson <[email protected]> | 2015-08-28 10:58:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-08-28 10:58:30 -0700 |
commit | bbc16e2c15b139cf2ef14eff9b3bcdb4933a5b0e (patch) | |
tree | 7cd24d9ad9fee9560dd44a5f9475ea7c9b818171 /Alc/hrtf.c | |
parent | d17534332f528a97c633d0a955fc50b3eabdfbeb (diff) |
Use ACN ordering for ambisonics coefficients arrays
Note that it still uses FuMa scalings internally. Coefficients loaded from
config files specify if they're FuMa (in both ordering and scaling) or N3D,
and will get reordered or rescaled as needed.
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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++) { |