Firelight Technologies FMOD Studio API

Studio::EventInstance::getPitch

Retrieves the pitch multiplier set by the API on the event instance.

C++ Syntax

FMOD_RESULT Studio::EventInstance::getPitch(
  float *pitch
);

C Syntax

FMOD_RESULT FMOD_Studio_EventInstance_GetPitch(
  FMOD_STUDIO_EVENTINSTANCE *eventinstance,
  float *pitch
);

Parameters

pitch
Address of a variable to receive the pitch multiplier.

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