Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

CRASH: Unity iOS can't suspend AudioEngine in Background

0 votes

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.

 

asked Oct 7, 2014 in General Discussion by Milan G. (170 points)

Please sign-in or register to answer this question.

...