Firelight Technologies FMOD Studio API
Channel::getVolume
Retrieves the volume level.
C++ Syntax
FMOD_RESULT Channel::getVolume(
float *volume
);
C Syntax
FMOD_RESULT FMOD_Channel_GetVolume(
FMOD_CHANNEL *channel,
float *volume
);
C# Syntax
RESULT Channel.getVolume(
out float volume
);
JavaScript Syntax
Channel.getVolume(
volume // writes value to volume.val
);
Parameters
- volume
- Address of a variable to receive the linear volume level.
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.
See Also
Version 1.10.03 Built on Feb 1, 2018