Channel::getMode

FMOD Studio API

Firelight Technologies FMOD Studio API

Channel::getMode

Retrieves the mode bit flags for the channel.

C++ Syntax

FMOD_RESULT Channel::getMode(
  FMOD_MODE *mode
);

C Syntax

FMOD_RESULT FMOD_Channel_GetMode(
  FMOD_CHANNEL *channel,
  FMOD_MODE *mode
);

C# Syntax

RESULT Channel.getMode(
  out MODE mode
);

JavaScript Syntax

Channel.getMode(
  mode                             // writes value to mode.val
);

Parameters

mode
Address of a variable to receive the mode bits.

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