RE: background audio in iOS
RE: background audio in iOS
- Subject: RE: background audio in iOS
- From: "support (One Red Dog Media)" <email@hidden>
- Date: Sun, 21 Oct 2012 21:34:12 +0000
- Thread-topic: background audio in iOS
Hey
Just an idea - if you are using RemoteIO and an interruption handler you should not be stopping the audio on the begin interruption event as you are likely not receiving the matching end interruption which is probably where you'd be restarting the audio. Instead, use the app delegate background/foreground active/inactive methods to stop/start your RemoteIO AUGraph.
cheers
peter
________________________________________
From: coreaudio-api-bounces+support=email@hidden [coreaudio-api-bounces+support=email@hidden] on behalf of ben kamen [email@hidden]
Sent: Monday, 22 October 2012 5:45 AM
To: email@hidden
Subject: background audio in iOS
Hi,
I've noticed that toggling background audio and off off in another app (animoog) is somehow shutting off my app's own audio stream. The two apps work fine at the same time, until I toggle backgound audio on/off in that app.
Since I have no idea what's going on inside that app, what are some steps I can take to ensure that my app is not affected? What is an app usually doing when it toggles "background audio" on and off?
I'm generating virtual MIDI messages from my app to control animoog, so it is a situation that is likely to occur for users. (Though testing with another synth app does not have the same issues).
Thanks in advance for any advice.
Ben
Olympia Noise Co.
www.olympianoiseco.com
www.facebook.com/OlympiaNoiseCo
_______________________________________________
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