Problems with iOS devices lacking a built-in microphone
Problems with iOS devices lacking a built-in microphone
- Subject: Problems with iOS devices lacking a built-in microphone
- From: Andreas Gustafsson <email@hidden>
- Date: Sat, 16 Mar 2013 18:31:32 +0200
Hi all,
I'm working on an iOS app that records audio using the RemoteIO AU.
I wanted to verify that my app correctly responds to changes to the
kAudioSessionProperty_AudioInputAvailable property, which only
applies to iOS devices lacking a built-in microphone, so I
purchased a used 3rd generation iPod Touch running iOS 5.1.1.
When testing, I found that if I unplugged the headset while the app
was running and then plugged it back in, my app no longer worked, and
the following message was logged (by the system, not by any NSLog()
call of mine):
2013-03-16 17:56:25.397 App Name[2159:707] 17:56:25.396 <0x3f573d98> AURemoteIO::ChangeHardwareFormats: error -10875
I figured my code had to be doing something wrong, so I went looking
for working example code. I found and built the aurioTouch2 sample
app, but it misbehaved in the same way: after unplugging the headset
and plugging it back in, the app no longer worked. Only the error
message was different now, an endless stream of
PerformThru: error -10863
I have already filed a bug report about the non-working example code
(http://openradar.appspot.com/13429977), but I'm wondering if anyone
else has run into this, knows of some other example code that does
work, or can point me towards some other way of working around the
problem. Or does noone care about supporting iOS devices without a
built-in mic anymore?
--
Andreas Gustafsson, 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