版本

menu_open
AKRESULT __cdecl AK::SoundEngine::Wii::ActivateRemoteSpeakers (  ) 

Activate speakers on all Wii remote controllers.

When called, speakers are turned ON and audio is routed by the sound engine to the appropriate remote controllers (according to game object settings). The sound engine also listens to controller connection notifications to enable/re-enable remote speakers automatically. The previous controller connection callback is kept and called. It is reassigned when AK::SoundEngine::DeactivateRemoteSpeakers() is called.

Note.gif
Note: WPadInit() (or KPadInit()) must be called before the sound engine is initialized if you want to use speakers on the Wii remote controllers. If it is not then ActivateRemoteSpeakers() will fail and remote speakers will not work.
See also:
Returns:
Will return AK_Busy if the system was busy and controllers cannot be activated. Will return AK_Fail if Wii remote controller speakers cannot be used because WPadInit() (or KPADInit) was not called before the sound engine was initialized. Will return AK_Success otherwise. The function is likely to return AK_Busy when other components( as the home menu ) are currently accessing the remote controllers. When AK_Busy is returned, ActivateRemoteSpeakers must be called again later to activate the speakers.

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅