diff options
author | Chris Robinson <[email protected]> | 2018-12-09 15:21:24 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-09 15:21:24 -0800 |
commit | efb8e076c73fb77e342fe9f2e03b214a7f6c787d (patch) | |
tree | 3c601cd30717abf6dbc7c4cba140d5aa0d2f2bde /Alc/panning.cpp | |
parent | 6c8f45b5f6eb2c94427078a4fb527f02d44b9f65 (diff) |
Pass a reference to an array for a function parameter
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index a8d593ce..beb390e7 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -67,7 +67,7 @@ constexpr ALsizei ACN2ACN[MAX_AMBI_COEFFS] = { } // namespace void CalcAmbiCoeffs(const ALfloat y, const ALfloat z, const ALfloat x, const ALfloat spread, - ALfloat coeffs[MAX_AMBI_COEFFS]) + ALfloat (&coeffs)[MAX_AMBI_COEFFS]) { /* Zeroth-order */ coeffs[0] = 1.0f; /* ACN 0 = 1 */ |