ChannelControl::getPitch

FMOD Studio API

Firelight Technologies FMOD Studio API

ChannelControl::getPitch

Retrieves the pitch value.

C++ Syntax

FMOD_RESULT ChannelControl::getPitch(
  float *pitch
);

Parameters

pitch

Address of a variable to receive the pitch value, 0.5 = half pitch, 2.0 = double pitch, etc.

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