版本
Use this function to tell the sound engine to switch to background/foreground/exit mode. Setting the RELEASING mode (for Home Menu) will fade out the volume and pause all sounds. Avoid calling other Wwise API while the application is in background. Setting the FOREGROUND mode (coming back from Home Menu) will resume sounds and fade in. Setting the EXIT mode must be done as soon as possible when the ProcUI status is PROCUI_STATUS_EXIT. Failing to do so can result in a deadlock if banks are unloaded before terminating the sound engine. However, you could also terminate the sound engine directly instead. This function returns after the fade out is finished.
|