• 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 background audio termination criteria
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS background audio termination criteria


  • Subject: Re: iOS background audio termination criteria
  • From: Gregory Wieber <email@hidden>
  • Date: Tue, 07 Jun 2011 09:48:52 -0700

Have you tested it out to see if it actually quits? If it's indeed an issue (not sure, docs not in front of me) then you could simply determine the maximum period of silence that is allowed, and play a silent audio file before that amount of time elapses. In an audio unit graph setup, you could simply pass 0 through your buffers.



On Tue, Jun 7, 2011 at 9:43 AM, White Hexagon <email@hidden> wrote:
I read somewhere that background audio apps can be terminated by iOS if
they stop producing sound.  I need to know whether this is volume level
based, or looking for something like an AudioQueueStop.

The problem is that I have an audio streaming app (Baby Monitor) that
might occasionally lose connection and need to reconnect a few seconds
later.  Also if everything is good, then ideally my app will be silent
(ie Baby Sleeping).  Both sound like possible candidates for early
termination...

Does anyone have experience with this please?

Peter
 _______________________________________________
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 background audio termination criteria
      • From: White Hexagon <email@hidden>
References: 
 >iOS background audio termination criteria (From: White Hexagon <email@hidden>)

  • Prev by Date: iOS background audio termination criteria
  • Next by Date: Re: Newbie iOS Audio Unit question
  • Previous by thread: iOS background audio termination criteria
  • Next by thread: Re: iOS background audio termination criteria
  • Index(es):
    • Date
    • Thread