• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????


  • Subject: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
  • From: Andy Davidson <email@hidden>
  • Date: Tue, 02 Oct 2012 12:57:15 -0700
  • Thread-topic: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????

Hi

I am running into problem with a deployed app. My code worked fine with iPhone OS 3, IOS 4.x, and IOS 5.1. I am getting a lot of crash reports from users. 

 I have determined that the problem is AudioQueueOfflineRender returns an error code "-308" I search the documentation and googled. It seems like this error code is not documented.

FormatError from "CAXException.h" does not help. It returns a string value "-308" . Any idea what this error means?
(gdb) p (char[4]) -308
$1 = "\314\376\377\377"
(gdb)



As a test I down loaded my app from iTunes app store on 4 different devices. It works correctly on 

iPhone 4 running IOS 4.3
iPad 3 running IOS 5.1

It crashes on 

iPod touch (its an older model) Running IOS 6
iPhone 5 running IOS 6

In my test environment I was able to reproduce the problem using a really small/simple wav file. Its my standard test file I have been using for years. I know every note by hart. The song plays correctly till it reaches the end of the audio file. The AudioQueue callback Reach EOF, AudioQueueOfflineRender gets called a couple of times, and before failing. In my original code I was very careful to keep track of the total # of expected frames and the # frames rendered and never ask for more frames than actually exist.

Any thoughts or suggestions?

Thanks

Andy
 _______________________________________________
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

  • Follow-Ups:
    • Re: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
      • From: Paul Davis <email@hidden>
  • Prev by Date: Re: AU Plugins on 10.7.5
  • Next by Date: Re: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
  • Previous by thread: Re: AU Plugins on 10.7.5
  • Next by thread: Re: IOS 6 AudioQueueOfflineRender returns undocumented OSStatus == -308 ????
  • Index(es):
    • Date
    • Thread