• 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: iOS: Interruption listener is not called when pausing music from music app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS: Interruption listener is not called when pausing music from music app.


  • Subject: Re: iOS: Interruption listener is not called when pausing music from music app.
  • From: Aran Mulholland <email@hidden>
  • Date: Thu, 05 Dec 2013 12:15:28 +1100

This is by design.

When I'm using a music app ("Acme Drum Machine") and then I want to listen to some music from my iTunes library I don't expect the music app ("Acme Drum Machine") to start making noise when I pause or stop my music. This would be confusing for users. Basically the user has just paused his music (maybe to talk to someone) and then noise continues to play in his ears. The only time I want "Acme Drum Machine" to make noise is when I instruct it to.

The only exception to this rule is if the user receives a phone call. When the phone call finishes the music (from the iTunes library or a third party app) will start playing again because at no time did the user pause or stop the audio.

Cheers

Aran



On Thu, Dec 5, 2013 at 10:09 AM, Beinan Li <email@hidden> wrote:
Hello CoreAudio,

While our app's audio is playing, if we play music from Music app using earbud remote-control's play/pause button, our registered interruption listener is called with interruption flag being kAudioSessionBeginInterruption (i.e., we entered audio interruption).

However, pressing the play/pause button again the music will pause, so we expect that the interruption ends at the point, but the interruption listener is not called.

This can be reproduced with the Xcode sample projects:
iPhoneMultichannelMixerTest and iPhoneMixerEQGraphTest.

Is this by design: no "end of interruption" signal from remote-control at all?

It is a big problem for us because there is no way to resume app's audio automatically when the Music app is paused.


Beinan



 _______________________________________________
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

  • Follow-Ups:
    • Re: iOS: Interruption listener is not called when pausing music from music app.
      • From: Beinan Li <email@hidden>
References: 
 >iOS: Interruption listener is not called when pausing music from music app. (From: Beinan Li <email@hidden>)

  • Prev by Date: iOS: Interruption listener is not called when pausing music from music app.
  • Next by Date: Re: iOS: Interruption listener is not called when pausing music from music app.
  • Previous by thread: iOS: Interruption listener is not called when pausing music from music app.
  • Next by thread: Re: iOS: Interruption listener is not called when pausing music from music app.
  • Index(es):
    • Date
    • Thread