I try to figure out with
two separated apps. One to generate sound in background mode (app A), and an
other which analyze (record) (app B).
When I launch app A
(which is pair to a Bluetooth device), everything is fine. Once I start app B
and start sound processing, app B mute app A because audio route changed to SpeakerAndMicrophone.
I don’t know how to
fix this issue…
De : coreaudio-api-bounces+julien.rolland=email@hidden
[mailto:coreaudio-api-bounces+julien.rolland=email@hidden] De la part de julien rolland
Envoyé : mardi 28
août 2012 10:03
À :email@hidden
Objet : Remote I/O set
default input source
Hi,
I’m writing an iOS Audio App, I need to record
some samples with built-in microphone (iPhone or iPad) and do something with
it... So I check AudioSession documentation for categories. When I connect an
bluetooth audio device (without mic), my route changed listener says (when my
app launch) :
Old route : HeadphonesBT
New route : SpeakerAndMicrophone
I don’t know if we can force input source as
built-in mic when the route is HeaphonesBT ?
Cheers.
Julien ROLLAND