Why is AudioOutputUnitStart freezing my app in iOS 4?

Posted by Luke on Stack Overflow See other posts from Stack Overflow or by Luke
Published on 2010-06-30T17:46:54Z Indexed on 2011/02/06 7:25 UTC
Read the original article Hit count: 509

Filed under:
|
|

Hi guys,

I have an audio app which uses the RemoteIO AudioUnit. It works fine on iPhone, iPad, and any flavor of the simulator on 3.2, but when it hits AudioOutputUnitStart (), it freezes. I get the message "AddRunningClient starting device on non-zero client count" in the console, which I'm not sure how to resolve. I stop the unit and dispose of the AudioComponent every time the app closes. The app works fine the first time I run after restarting everything, but freezes every time after that. What's strange is there are no error messages - just an unresponsive interface and a frozen line of code.

Thanks for your help.

Luke

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-audio