iOS Core Audio and a mic/speaker feedback loop
iOS Core Audio and a mic/speaker feedback loop
- Subject: iOS Core Audio and a mic/speaker feedback loop
- From: Luther Baker <email@hidden>
- Date: Tue, 20 Sep 2011 13:06:02 -0500
I have an iPad application (a tuner) that uses Core Audio Audio Units. It reads the signal from the mic and processes it. It does NOT echo the sound to the speaker.
Unfortunately, at different times, the signal actually feedbacks and comes out of the speaker - loud and sort of phasey. I haven't made any connection from the mic to the speaker - but it creates the illusion that the mic is somehow "on". It isn't a direct signal - it is chopped up and requires you to make somewhat loud noises before it will happen.
I'm concerned this is related to overloading the cpu or something. I don't think the callback is getting behind. If I put debug statements into the callback, they seem to stop when I turn off the Audio Unit ... which brings up another oddity. At certain times, even when the Audio Unit has been stopped, the feedback continues to occur from the mic to the speaker so that the app has to be shutdown and removed from the background processing queue before the incessant noise stops.
Oddly, this doesn't happen every time and to every tester but it does occur often enough to create a stir.
Any thoughts as to how this might be happening?
_______________________________________________
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