在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票

I'm trying to suspend the audioengine when the app goes into background on iOS.

I'm using the OnApllicationPause Callback in Unity like so:

    void OnApplicationPause(bool paused)
    {
        if (paused)
        {
            AkSoundEngine.Suspend();
            Debug.Log("ApplicationPaused" + paused);

        } else {
            AkSoundEngine.WakeupFromSuspend();
            Debug.Log("ApplicationBack" + paused);
        }
    }

I'm getting the following Error:

AK Error: Sound engine is not initialized or dummy sink is in use. Aborted.

 

分类:General Discussion | 用户: Milan G. (190 分)

Please sign-in or register to answer this question.

...