Hello,
Our app wants to receive sound from an iPad's build-in MIC and output it to a 
USB external accessory device simultaneously. We added the MIC switching method 
described in QA1799 into the sample program 'aurioTouch' to make the sound 
input switchable.  When the USB external accessory device was attached on iPad, 
we can find that both sound input and output were switched to USB port ( the 
USB input and output endpoints are both asynchronous and use implicit 
feedback). We triggered the method to switch sound input back to build-in MIC, 
but the sound output was also switched to the build-in speaker automatically. 

We found some descriptions in QA1799 like this:

If an application uses the setPreferredInput:error: method to select a 
Bluetooth HFP input, the output will automatically be changed to the Bluetooth 
HFP output. Moreover, selecting a Bluetooth HFP output using the MPVolumeView's 
route picker will automatically change the input to the Bluetooth HFP input. 
Therefore both the input and output will always end up on the Bluetooth HFP 
device even though only the input or output was set individually.

My questions are: 
Does iOS treat USB audio port in the same way as Bluetooth HFP?
If so, there is no way to realize what we want to do, isn't it?

Thanks and best regards,
Gaowei Li

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to