Firelight Technologies FMOD Studio API
ChannelControl::setLowPassGain
Sets the gain of the dry signal when lowpass filtering is applied.
C++ Syntax
FMOD_RESULT ChannelControl::setLowPassGain(
float gain
);
Parameters
gain
Linear gain level, from 0 (silent, full filtering) to 1.0 (full volume, no filtering), default = 1.0.
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
Remarks
Requires the built in lowpass to be created with FMOD_INIT_CHANNEL_LOWPASS or FMOD_INIT_CHANNEL_DISTANCEFILTER.
See Also
Version 1.10.03 Built on Feb 1, 2018