Firelight Technologies FMOD Studio API

System::getRecordPosition

Retrieves the current recording position of the record buffer in PCM samples.

C++ Syntax

FMOD_RESULT System::getRecordPosition(
  int id,
  unsigned int *position
);

C Syntax

FMOD_RESULT FMOD_System_GetRecordPosition(
  FMOD_SYSTEM *system,
  int id,
  unsigned int *position
);

Parameters

id
Enumerated driver ID. This must be in a valid range delimited by System::getRecordNumDrivers.
position
Address of a variable to receieve the current recording position in PCM samples.

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.




Version 1.03.06 Built on Apr 17, 2014