• 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: Registering AudioUnits at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Registering AudioUnits at runtime


  • Subject: Re: Registering AudioUnits at runtime
  • From: David Duncan <email@hidden>
  • Date: Thu, 4 Nov 2004 15:59:13 -0500

On Nov 4, 2004, at 02:43 PM, Makira wrote:

I'm trying to make an audio unit which, upon loading, would read from a
directory some models, and then for each of them register an audio unit. How
can I do this ?


Do I have to make a dummy audio unit, and with the help of a static global
instance, register more in the constructor using COMPONENT_REGISTER from
Apple's sdk ? Problem is that I don't want any dummy audio unit appearing in
the host.. Or can I make a generic component which will register the audio
units - but will the host load the component if no audio units are listed in
the ressources ?

Why not create a single AU and use the preset mechanism to select from each model? Then the user can select (and change) at runtime the model that the AU corresponds to. If you register separate AUs then the user has to remove and insert a new AU.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
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: Registering AudioUnits at runtime
      • From: Makira <email@hidden>
References: 
 >Registering AudioUnits at runtime (From: Makira <email@hidden>)

  • Prev by Date: Registering AudioUnits at runtime
  • Next by Date: Re: Registering AudioUnits at runtime
  • Previous by thread: Registering AudioUnits at runtime
  • Next by thread: Re: Registering AudioUnits at runtime
  • Index(es):
    • Date
    • Thread