Re: AudioUnitRender returning -1
Re: AudioUnitRender returning -1
- Subject: Re: AudioUnitRender returning -1
- From: David Duncan <email@hidden>
- Date: Mon, 9 Feb 2004 06:24:44 -0500
On Feb 9, 2004, at 12:48 AM, Jeremy Jurksztowicz wrote:
In my case, I have found out that AudioUnitRender returned -1 when my
audio unit callback throws an exception. I had a great deal of
difficulty finding any documentation which explained this. Another
mailing list subscriber posted a question regarding the -1 return
value in august 2003, and was virtually ignored. Perhaps I am looking
in the wrong place?
Well, the return value of the AudioUnitRender is the first non-zero
error returned by any render callback/audio unit, so a value of -1
could mean anything if the audio unit involved isn't coded correctly
(and I think the usual reason for this mis-error is for expired
trials). Since your throwing an exception however, your lucky that you
get a -1 return instead of your program crashing.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.