Re: AudioUnitHosting doesn't call Reset
Re: AudioUnitHosting doesn't call Reset
- Subject: Re: AudioUnitHosting doesn't call Reset
- From: Marc Poirier <email@hidden>
- Date: Mon, 14 Oct 2002 15:53:06 -0400
At 4:08 PM -0700 10/11/02, Bill Stewart wrote:
on 8/10/02 6:43 AM, Marc Poirier wrote:
> So maybe what I am saying is: Should it be expected of hosts that, when
they expect the AU to be ready to process, they should also have set up
processing-relavant variables like the samplerate?
Yes - though typically our units default to a stream format (44.1K, stereo),
so that when initialized the unit is expected to deal with that (as it may
not get any additional stream format set) - Its only a requirement that the
stream format be set if the default is not desired.
Is there a defined "default"? If so, then what is the default stream
format, and wouldn't it be good for AUBase constructor's set that up
automatically?
> And if not, then shouldn't it at least be expected that Reset be called
after Initialize and before processing, with a valid samplerate in place
at that point, to give the AU a chance to set up samplerate-dependent
stuff before processing?
No - I think its reasonable to assume that the unit will handle whatever it
needs to when the stream format change is received - that is what
AUEffectBase does I believe...
Okay, thanks for the clarification, I'll make sure my AUs react
immediately to stream format changes...
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.