Version

menu_open
Wwise SDK 2023.1.3

◆ SetJobMgrMaxActiveWorkers()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetJobMgrMaxActiveWorkers ( AkJobType  in_jobType,
AkUInt32  in_uNewMaxActiveWorkers 
)

Allows the game to set new values for the maximum active workers for the job manager This may be changed anytime once the sound engine was initialized. This function may only be used if a worker function has been set via AkJobMgrSettings.

Returns
  • AK_InvalidParameter in_jobType is not a valid jobtype, or in_uNewMaxActiveWorkers is not greater than 0
  • AK_NotInitialized JobMgr system was not already initialized with a function to request for workers
  • AK_Success if successful
Parameters
in_jobTypeJobType to set new uMaxActiveWorkers for
in_uNewMaxActiveWorkersNew maximum number of active workers will request

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise