Audio queue start failed

Discussion in 'iOS Programming' started by mobapps99, Mar 22, 2010.

  1. mobapps99 macrumors newbie

    Joined:
    Mar 22, 2010
    #1
    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.......
     
  2. mobidev macrumors member

    Joined:
    Nov 20, 2009
    #2
    Audio Streaming Errors.

    Live Streaming Audio using AVFoundation framework and Audio Tool Box.

    Hi,

    Whenever I connect my iPhone with Live Audio streaming to ear phones (from apple), I am getting an alert saying as follows.

    "Audio queue get Current time failed"

    Also one more error do I get when I stop and restart the Audio Streaming, as follows:

    "Audio queue creation failed"

    Does anyone have any idea how to tackle with this issue.
     

Share This Page