ChannelControl::setMute

FMOD Studio API

Firelight Technologies FMOD Studio API

ChannelControl::setMute

Sets the mute state effectively silencing it or returning it to its normal volume.

C++ Syntax

FMOD_RESULT ChannelControl::setMute(
  bool mute
);

Parameters

mute

Mute state, true = mute (silent), false = normal 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.

Remarks

Each channel and channel group has its own mute state, muting a channel group will mute all child channels but will not affect their individual setting. Calling ChannelControl::getMute will always return the value you set.

See Also




Version 1.10.03 Built on Feb 1, 2018