Re: kAudioFileUnspecifiedError
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