Answering my own question...
Answering my own question...
- Subject: Answering my own question...
- From: Todd Blanchard <email@hidden>
- Date: Mon, 17 Sep 2007 22:48:44 -0700
I ended up doing what I said - setting the state within the first
render notify callback from AUGraph. Seems to work reliably.
On Sep 17, 2007, at 5:00 PM, Todd Blanchard wrote:
The only "variable" value is the AudioUnit itself - which I get
from AUGetNodeInfo...
I'm trying to "get" the global property "class info".
Definitely looks like some kind of race condition - I've just
called AUGraphStart and now I'm trying to plunk in the states for
the virtual instruments. Is AUStart asynchronous? Should I set a
flag and do this in the first render notify callback?
On Sep 17, 2007, at 4:57 PM, David Duncan wrote:
On Sep 17, 2007, at 4:19 PM, Todd Blanchard wrote:
So what does -50 mean? Why does it fail *sometimes*? I've tried
the check-for-uninitialized error, call initialize and retry
trick - it still fails - sometimes. I'm really tired of screwing
with this problem - it is the only problem I have left and it is
driving me nuts.
From MacErrors.h:
paramErr = -50, /*error in user parameter
list*/
So it's something your passing to the function. Likely your
passing something that is only sometimes valid, so I would
recommend doing some logging around the function that is returning
-50.
--
David Duncan
Apple DTS Quartz and Printing
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:
40mac.com
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