aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-17 18:16:39 -0800
committerChris Robinson <[email protected]>2018-02-18 23:56:51 -0800
commitb5aa0c07599ce8e8fd17e4ec1a686f3cf0576458 (patch)
tree3015c6dc50ebc7e9e48dc2b4d18af84eaabdf038 /OpenAL32
parent79604c3c0e0f3f71832a09348cc273a38882cc3e (diff)
Remove the unnecessary ComputeAmbientGains
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alu.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 609118bf..14262d9b 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -467,21 +467,6 @@ inline void CalcAngleCoeffs(ALfloat azimuth, ALfloat elevation, ALfloat spread,
*/
void CalcAnglePairwiseCoeffs(ALfloat azimuth, ALfloat elevation, ALfloat spread, ALfloat coeffs[MAX_AMBI_COEFFS]);
-void ComputeAmbientGainsMC(const ChannelConfig *chancoeffs, ALsizei numchans, ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
-void ComputeAmbientGainsBF(const BFChannelConfig *chanmap, ALsizei numchans, ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
-/**
- * ComputeAmbientGains
- *
- * Computes channel gains for ambient, omni-directional sounds.
- */
-inline void ComputeAmbientGains(const DryMixParams *dry, ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS])
-{
- if(dry->CoeffCount > 0)
- ComputeAmbientGainsMC(dry->Ambi.Coeffs, dry->NumChannels, ingain, gains);
- else
- ComputeAmbientGainsBF(dry->Ambi.Map, dry->NumChannels, ingain, gains);
-}
-
void ComputePanningGainsMC(const ChannelConfig *chancoeffs, ALsizei numchans, ALsizei numcoeffs, const ALfloat coeffs[MAX_AMBI_COEFFS], ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);
void ComputePanningGainsBF(const BFChannelConfig *chanmap, ALsizei numchans, const ALfloat coeffs[MAX_AMBI_COEFFS], ALfloat ingain, ALfloat gains[MAX_OUTPUT_CHANNELS]);