Re: iOS background audio termination criteria
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