• 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: AVAudioSessionSilenceSecondaryAudioHintNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AVAudioSessionSilenceSecondaryAudioHintNotification


  • Subject: Re: AVAudioSessionSilenceSecondaryAudioHintNotification
  • From: Beinan Li <email@hidden>
  • Date: Wed, 08 Oct 2014 14:00:52 -0400

Hello CoreAudio

Please ignore my previous post (pressed send by mistake).

I'm having trouble figuring out how to respond to AVAudioSessionSilenceSecondaryAudioHintNotification because I didn't find a way to trigger it.

Quoted from Xcode doc,

AVAudioSessionSilenceSecondaryAudioHintNotification Posted on the main thread when the primary audio from other applications starts and stops.

Subscribe to this notification to ensure that your app is notified when optional secondary audio muting should begin or end.

However, when my app's audio is playing, and I press the remote-control to start playing music from the Music app. This notification is not triggered in my observer callback. I believe the registration was successful.

Am I having the wrong expectation? Is it supposed to be triggered in a different scenario? Any examples?

I don't see any relevant examples in Xcode doc (Xcode 6).

Thanks,

Beinan


On Wed, Oct 8, 2014 at 1:58 PM, Beinan Li <email@hidden> wrote:

Quoted from Xcode doc,

AVAudioSessionSilenceSecondaryAudioHintNotification Posted on the main thread when the primary audio from other applications starts and stops.

Subscribe to this notification to ensure that your app is notified when optional secondary audio muting should begin or end.

However, when my app's audio is playing, and I press the remote-control to start playing music from the Music app. This notification is not triggered in my observer callback. I believe the registration was successful.

Am I having the wrong expectation? Is it supposed to be triggered in a different scenario? Any examples?


 _______________________________________________
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: 
 >AVAudioSessionSilenceSecondaryAudioHintNotification (From: Beinan Li <email@hidden>)

  • Prev by Date: AVAudioSessionSilenceSecondaryAudioHintNotification
  • Next by Date: Dose AUSampler supports sending After-Touch MIDI Message?
  • Previous by thread: AVAudioSessionSilenceSecondaryAudioHintNotification
  • Next by thread: Dose AUSampler supports sending After-Touch MIDI Message?
  • Index(es):
    • Date
    • Thread