• 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
Re: kAudioFileUnspecifiedError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kAudioFileUnspecifiedError


  • Subject: Re: kAudioFileUnspecifiedError
  • From: William Stewart <email@hidden>
  • Date: Mon, 3 Nov 2008 17:20:53 -0800

if you are trying to read 0 packets - that is nothing - from the file. I would check the parameters you are passing to the read call

On Nov 3, 2008, at 2:48 PM, patrick machielse wrote:

I'm trying to track down an error in my CoreAudio based application. Since it only happens to users (I cannot reproduce the problem) and might be restricted to 10.4.11, the information I have is not very detailed yet.

What I do know is that at some point ExtAudioFileRead() returns kAudioFileUnspecifiedError ('wht?'). ExtAudioFileRead() is called in a readCallback, registered with the first AudioUnit on a simple AUGraph. I process audio data (offline, not real time) by calling AudioUnitRender() in a loop. It seems that the error happens at the end of a file (or possibly even after I've exited the render loop...?)

The error value itself is not very discriptive (to say the least, it's more like a taunt...). It would be very helpful to know under which conditions ExtAudioFileRead() might return an kAudioFileUnspecifiedError.

Thanks
patrick
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
email@hidden

_______________________________________________
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

_______________________________________________ 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: kAudioFileUnspecifiedError
      • From: patrick machielse <email@hidden>
References: 
 >kAudioFileUnspecifiedError (From: patrick machielse <email@hidden>)

  • Prev by Date: low jitter 1ms callback for MIDI scheduling?
  • Next by Date: Re: optimizing midi packet processing
  • Previous by thread: kAudioFileUnspecifiedError
  • Next by thread: Re: kAudioFileUnspecifiedError
  • Index(es):
    • Date
    • Thread