FSBank_Init

FMOD Studio API

Firelight Technologies FMOD Studio API

FSBank_Init

Initialize the FSBank system.

C Syntax

FSBANK_RESULT FSBank_Init(
  FSBANK_FSBVERSION version,
  FSBANK_INITFLAGS flags,
  unsigned int numSimultaneousJobs,
  const char *cacheDirectory
);

Parameters

version

FSB version, currently only FSBANK_FSBVERSION_FSB5 is supported.

flags

Initialization flags which control how the system behaves.

numSimultaneousJobs

The maximum number of threads to create for parallel encoding. Set this to your number of CPU 'cores' for best performance.

cacheDirectory

Optional location to store the temporary cache files, default is a directory off the current working directory.

Return Values

If the function succeeds then the return value is FSBANK_OK.
If the function fails then the return value will be one of the values defined in the FSBANK_RESULT enumeration.

See Also




Version 1.10.03 Built on Feb 1, 2018