• 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: Setting the AU's sample rate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the AU's sample rate


  • Subject: Re: Setting the AU's sample rate
  • From: Marc Poirier <email@hidden>
  • Date: Sun, 4 Jul 2004 18:22:12 -0400 (EDT)

> It has recently come to my attention that changing the sample rate
> before doing off-line rendering is crashing at least one AU plug-in.
> Therefore I want to be absolutely sure that this is not a host problem.
>
> Is it necessary to AudioUnitUninitialize before changing the sample
> rate?

It is possible for an AU to support StreamFormat changes while
Initialized, but most do not (and should return an error if you try to).


> If I do this, the AU in question, does not crash but produces
> silence instead and then the AU is in a weird state (e.g. does not
> display properly any more).

Do you Initialize again after Uninitializing and then changing the
sampling rate?


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: 
 >Setting the AU's sample rate (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Setting the AU's sample rate
  • Next by Date: Re: Setting the AU's sample rate
  • Previous by thread: Setting the AU's sample rate
  • Next by thread: Re: Setting the AU's sample rate
  • Index(es):
    • Date
    • Thread