FMOD_FILE_SEEK_CALLBACK

FMOD Studio API

Firelight Technologies FMOD Studio API

FMOD_FILE_SEEK_CALLBACK

Callback for seeking within a file.

C/C++ Syntax

FMOD_RESULT F_CALLBACK FMOD_FILE_SEEK_CALLBACK(
  void *handle,
  unsigned int pos,
  void *userdata
);

Parameters

handle

This is the handle returned from the open callback to use for your own file routines.

pos

This is the position or offset to seek to in the file in bytes.

userdata

Userdata from FMOD_CREATESOUNDEXINFO.fileuserdata or FMOD_STUDIO_BANK_INFO.userData.

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