Contents

pause()

Pauses the audio engine.

Declaration

func pause()

Discussion

This method stops the audio engine and the audio hardware, but doesn’t deallocate the resources for the prepare() method. When your app doesn’t need to play audio, consider pausing or stopping the engine to minimize power consumption.

You resume the audio engine by invoking start().

See Also

Playing Audio