• 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
A way to check if an AudioUnit is initialized?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A way to check if an AudioUnit is initialized?


  • Subject: A way to check if an AudioUnit is initialized?
  • From: Evan Olcott <email@hidden>
  • Date: Thu, 24 Apr 2008 00:40:47 -0500

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?

Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering

http://www.audiofile-engineering.com/






_______________________________________________ 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
  • Follow-Ups:
    • Re: A way to check if an AudioUnit is initialized?
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: Clearing kAudioUnitProperty_SetRenderCallback still a problem?
  • Next by Date: AU Lab crash / generic Cocoa view
  • Previous by thread: Re: Clearing kAudioUnitProperty_SetRenderCallback still a problem?
  • Next by thread: Re: A way to check if an AudioUnit is initialized?
  • Index(es):
    • Date
    • Thread