Re: A way to check if an AudioUnit is initialized?
Re: A way to check if an AudioUnit is initialized?
- Subject: Re: A way to check if an AudioUnit is initialized?
- From: Brian Willoughby <email@hidden>
- Date: Sat, 26 Apr 2008 13:41:31 -0700
Not sure I understand the question. What situation would you be in
where you don't know the state of an AU? Are you hosting AUs and
losing track of which ones have been initialized? The return code
from the Initialize call should tell you whether it was successful or
not. On a related note, are you dealing with AUs that you've written
yourself, or third-party AUs?
Brian Willoughby
Sound Consulting
On Apr 23, 2008, at 22:40, Evan Olcott wrote:
Is there a method or function to query an AudioUnit and see if it is
initialized?
A hack-y way I came up with is to try and query it with a fairly
harmless property and see if it returns an error - but that seems
like it could be subject to failure in the future or in some other
circumstances with particular AUs...
Is there an elegant way to do this? Or is there a good/harmless
property I can count on to return the error appropriately?
_______________________________________________
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