Firelight Technologies FMOD Studio API
file_open
Helper function to open a file manually, that is preloaded with FMOD.FS_createPreloadedFile
JavaScript Syntax
FMOD.file_open(
system, // FMOD::System object handle
filename, // (string) path and filename which matches the path/filename set up in FMOD.FS_createPreloadedFile if this is the system being used (ie not file callbacks)
filesize_out, // (number) an integer with the size of the file is put in filesize_out.val
handle_out // (object) an object with the file handle is put in handle_out.val
);
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.10.03 Built on Feb 1, 2018