Firelight Technologies FMOD Studio API
FMOD_OUTPUT_GETPOSITION_CALLBACK
Returns the current PCM offset or playback position for the output stream.
Called from the mixer thread, only when the 'polling' member of FMOD_OUTPUT_DESCRIPTION is set to TRUE.
The internal FMOD output thread calls this function periodically to determine if it should ask for a block of audio data or not.
C/C++ Syntax
FMOD_RESULT F_CALLBACK FMOD_OUTPUT_GETPOSITION_CALLBACK(
FMOD_OUTPUT_STATE *output_state,
unsigned int *pcm
);
Parameters
output_state
Pointer to the plugin state. The user can use this variable to access runtime plugin specific variables and plugin writer user data.
pcm
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