Audio queue start failed

Posted by mobapps99 on Stack Overflow See other posts from Stack Overflow or by mobapps99
Published on 2010-03-22T08:29:56Z Indexed on 2010/03/22 8:31 UTC
Read the original article Hit count: 340

Filed under:

Hi , i'm developing a project which has both audio streaming and playing audio from file. For audio streaming i'm using AudioStreamer and for playing from file i'm using avaudioplayer. Both streaming and playing works perfectly as long as the app is not interrupted by a phone call or sms. But when a call/sms comes after dismissing the call when i try to restart streaming i'm getting the error "Audio queue start failed" . This happens only when i have used avaudioplayer at least once and after that used streaming. When the avaudioplayer obeject is not created , in this scenario the there is no problem with resuming streaming after dismissing the call. My guess is that some thing is wrong with audioqueue.

Help is very much appreciated.......

© Stack Overflow or respective owner

Related posts about iphone