• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone and AudioSessionInitialize()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iPhone and AudioSessionInitialize() (From: "Roni Music" <email@hidden>)

  • Prev by Date: iPhone and AudioSessionInitialize()
  • Next by Date: Controller mapping
  • Previous by thread: iPhone and AudioSessionInitialize()
  • Next by thread: Changing System Audio Output - Notifications to Apps?
  • Index(es):
    • Date
    • Thread