Getting properties from AU in GUI fails if requested too quickly
Getting properties from AU in GUI fails if requested too quickly
- Subject: Getting properties from AU in GUI fails if requested too quickly
- From: "Dave Hoskins" <email@hidden>
- Date: Fri, 11 Aug 2006 19:25:47 +0100
In CreateUI, before my GUI is
created it asks my AU for some info about itself.
On a couple of hosts (Wave Editor. forget other)
the call for AU properties is completely ignored, unless I create a very slight
pause at the beginning of the CreateUI function. I came across the pause idea
because whenever I stopped it in the debugger and commenced again there,
everything was fine!
I can stop the debugger in the AU constructor, and
it is always created first so it's not like it doesn't exits yet.
To fix this it appears I just needed to shuffle the
AU property fetching a little way dorwn the code. An extremely crappy
fix!
Has anybody had this before? Couldn't find it in
the archives.
It's a Universal Binary running on
MacIntel.
Cheers,
Dave Hoskins
|
_______________________________________________
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