Re: Disposing of the AUGraph
Re: Disposing of the AUGraph
- Subject: Re: Disposing of the AUGraph
- From: Doug Wyatt <email@hidden>
- Date: Thu, 13 May 2010 21:27:32 -0700
On May 12, 2010, at 19:04 , Aran Mulholland wrote:
> is this an appropriate way to get rid of the Audio (iPhone)
>
> AudioSessionSetActive(false);
> AUGraphStop(graph);
> AUGraphClose(graph);
> AUGraphUninitialize(graph);
>
> Are these calls in the right order?
Close stops, initializes and disposes the graph, so Uninitialize would fail (harmlessly).
AudioSessionSetActive(false) will fail if the graph is running; stop or dispose the graph first.
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden