Table of Contents

AKRESULT __cdecl AK::SoundEngine::SetBankLoadIOSettings ( AkReal32  in_fThroughput,
AkPriority  in_priority  
)

Sets the I/O settings of the bank load and prepare event processes. The sound engine uses default values unless explicitly set by calling this method.

Warning:
This function must be called before loading banks.
Returns:
  • AK_Success if successful
  • AK_Fail if the sound engine was not correctly initialized
  • AK_InvalidParameter if some parameters are invalid
See also:
Parameters:
in_fThroughput  Average throughput of bank data streaming (bytes/ms) (the default value is AK_DEFAULT_BANK_THROUGHPUT)
in_priority  Priority of bank streaming (the default value is AK_DEFAULT_PRIORITY)