Firelight Technologies FMOD Studio API

DSPConnection::setMix

Sets the volume of the connection so that the input is scaled by this value before being passed to the output.

C++ Syntax

FMOD_RESULT DSPConnection::setMix(
  float volume
);

C Syntax

FMOD_RESULT FMOD_DSPConnection_SetMix(
  FMOD_DSPCONNECTION *dspconnection,
  float volume
);

Parameters

volume
Volume or mix level of the connection. 0.0 = silent, 1.0 = full volume.

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.03.06 Built on Apr 17, 2014