Channel::setPaused

FMOD Studio API

Firelight Technologies FMOD Studio API

Channel::setPaused

Sets the paused state.

C++ Syntax

FMOD_RESULT Channel::setPaused(
  bool paused
);

C Syntax

FMOD_RESULT FMOD_Channel_SetPaused(
  FMOD_CHANNEL *channel,
  FMOD_BOOL paused
);

C# Syntax

RESULT Channel.setPaused(
  bool paused
);

JavaScript Syntax

Channel.setPaused(
  paused                           
);

Parameters

paused
Paused state, true = paused, false = unpaused.

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 paused state, pausing a channel group will pause all contained channels but will not affect their individual setting. Calling ChannelControl::getPaused will always return the value you set.

See Also




Version 1.10.03 Built on Feb 1, 2018