Instance Method

stop

Stops the audio engine and releases any previously prepared resources.

Declaration

- (void)stop;

Discussion

When called, this method stops the audio engine and the audio hardware, and releases any resources allocated by the prepare method. When your app doesn't need to play audio, you should pause or stop the engine (as applicable), to minimize power consumption.

See Also

Playing Audio

musicSequence

The music sequence that was previously attached to the audio engine.

- prepare

Prepares the audio engine for starting.

- startAndReturnError:

Starts the audio engine.

running

A Boolean value that indicates whether the audio engine is running.

- pause

Pauses the audio engine.

- reset

Resets all of the audio nodes in the audio engine.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software