Version

    Other Documentation

menu_open
Wwise SDK 2022.1.8

◆ 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_jobType JobType to set new uMaxActiveWorkers for
in_uNewMaxActiveWorkers New 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