iPhone and AudioSessionInitialize()
iPhone and AudioSessionInitialize()
- Subject: iPhone and AudioSessionInitialize()
- From: "Roni Music" <email@hidden>
- Date: Wed, 5 May 2010 16:42:12 +0200
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".
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