• 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
AU2 - another lesson - GetSampleRate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU2 - another lesson - GetSampleRate


  • Subject: AU2 - another lesson - GetSampleRate
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 1 Oct 2002 22:39:15 +0200 (CEST)

Tuesday's lesson: Don't call GetSampleRate during your Audio Unit's
constructor. Of course, if you look at the AUEffectBase implementation of
it, you will see that it is not a good idea because it accesses element 0
which does not exist at the time of your plugin's construction. But if
you're dumb like me, you will not look at that and instead spend a day
cursing the Component Manager for throwing weird exceptions and generally
mucking things up when it's really your own fault for trying to do
something silly...

Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: AU HostCallback - musical location (From: Bill Stewart <email@hidden>)

  • Prev by Date: Re: Jaguar MIDI issues
  • Next by Date: a couple of Audio Units
  • Previous by thread: Re: AU HostCallback - musical location
  • Next by thread: AudioUnitParameterUnit for ms
  • Index(es):
    • Date
    • Thread