Re: AUVarispeed strangeness
Re: AUVarispeed strangeness
- Subject: Re: AUVarispeed strangeness
- From: William Stewart <email@hidden>
- Date: Wed, 2 Apr 2008 11:10:51 -0700
On Apr 2, 2008, at 9:02 AM, Kevin Dixon wrote:
You can't do that while you have a callback on the input. So, you
need
to set the format first, then establish the callback.
Thanks for the tip-off
Offline render units have a slightly different semantic - including a
notion of preflighting them.
AUVarispeed reports that no preflighting is required. Is it possible
that
this would change in the future?
sure - the API contract for an offline unit is that it should be
preflighted unless it tells you it doesn't. I would check, rather than
hard code this.
In the auprocess example (in AudioFileTools) there's an au wrapper
(CAAUProcessor which is in Public Utility) object that is used to
handle this - its has all the code to render with effects, converters
or offline units, so its more complicated than to deal with just one
type of audio unit, but you should be able to sort it out from that I
think.
Would you recommend using the CAAUProcessor in new software that
does just
that?
Sure - it does alot of the stuff you need it to do (deals with latency
and tail with effects so you get the right number of samples out for
the input) and the general offline semantics. The code's there too, so
if its not quite what you need for some reason, its easy to change
Bill
Thanks,
-Kevin
_______________________________________________
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