Re: iPhone and AudioSessionInitialize()
Re: iPhone and AudioSessionInitialize()
- Subject: Re: iPhone and AudioSessionInitialize()
- From: William Stewart <email@hidden>
- Date: Wed, 5 May 2010 13:10:49 -0700
On May 5, 2010, at 7:42 AM, Roni Music wrote:
>
> Am I correct in my assumption that once you have initialized an AudioSession
> OSStatus err = AudioSessionInitialize(NULL, NULL, interruptionListenerCallback1, self);
>
> then there is no way to "reinitialize" it using another callback, for example:
> OSStatus err = AudioSessionInitialize(NULL, NULL, interruptionListenerCallback2, self);
> returns an 'init' error which I assume means "already initialized".
yep
>
> My iPhone app now contains two separate parts (an audio player and one audio recorder)
> and the code would be much simpler (and nicer looking) if each part could have it's own
> interruptionListenerCallback (and audio route change callback).
>
> Thanks,
> Rolf
>
> _______________________________________________
> 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
_______________________________________________
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