• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A way to check if an AudioUnit is initialized?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >A way to check if an AudioUnit is initialized? (From: Evan Olcott <email@hidden>)

  • Prev by Date: Re: Lost MIDI messages
  • Next by Date: Getting Started
  • Previous by thread: A way to check if an AudioUnit is initialized?
  • Next by thread: AU Lab crash / generic Cocoa view
  • Index(es):
    • Date
    • Thread