버전

menu_open
void __cdecl AK::SoundEngine::Wii::SetProcessMode ( ProcUIStatus  in_eStatus,
AkTimeMs  in_msFade = 0,
AkCurveInterpolation  in_eCurve = AkCurveInterpolation_Linear,
void(*)(void *)  in_pCallback = NULL,
void *  in_pUserData = NULL  
)

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. Note that this function is not blocking; the fade will not be completed when the function returns. You can queue up other API calls if needed and then you must call RenderAudio soon after. If necessary, you should also Sleep() an appropriate amount of time to let the fade occur before releasing foreground. The amount of time to wait must include the minimum latency of the sound engine which is 64ms on the WiiU.

Parameters:
in_eStatus  ProcUIStatus from ProcUIStatus() or ProcUIProcessMessages
in_msFade  Fade out time. Set to 0 for minimum time.
in_eCurve  Fade curve.
in_pCallback  Callback to be called when fade out is finished. Leave NULL for no callback.
in_pUserData  User data for the callback.

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요