aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-01-31 09:00:23 -0800
committerChris Robinson <[email protected]>2016-01-31 09:00:23 -0800
commit7f908d90af9ed4b2f7ff415c412a080b22cac125 (patch)
treebb3066c1904b8b86b907d4f41b8eb6108df3ea99 /OpenAL32/Include/alu.h
parentd69dd6dc7aa50fa3bd77338065b381b57be05acd (diff)
Rename ComputeBFormatGains to ComputeFirstOrderGains
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 63a03adc..eb2ea534 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -322,13 +322,13 @@ void ComputeAmbientGains(const ChannelConfig *chancoeffs, ALuint numchans, ALflo
void ComputePanningGains(const ChannelConfig *chancoeffs, ALuint numchans, const ALfloat coeffs[MAX_AMBI_COEFFS], ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
/**
- * ComputeBFormatGains
+ * ComputeFirstOrderGains
*
- * Sets channel gains for a given (first-order) B-Format input channel. The
- * matrix is a 1x4 'slice' of the rotation matrix for the given channel used to
- * orient the soundfield.
+ * Sets channel gains for a first-order ambisonics input channel. The matrix is
+ * a 1x4 'slice' of a transform matrix for the input channel, used to scale and
+ * orient the sound samples.
*/
-void ComputeBFormatGains(const ChannelConfig *chancoeffs, ALuint numchans, const ALfloat mtx[4], ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
+void ComputeFirstOrderGains(const ChannelConfig *chancoeffs, ALuint numchans, const ALfloat mtx[4], ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
ALvoid UpdateContextSources(ALCcontext *context);