Re: Multichannel configs etc.
Re: Multichannel configs etc.
- Subject: Re: Multichannel configs etc.
- From: "Michael Kleps [reFX]" <email@hidden>
- Date: Fri, 12 Nov 2004 12:16:27 +0100
To be honest I think the best solution is the following.
Publish your AU with multiple outputs, each being stereo. We've been
pretty
clear for a considerable time that particularly with an AU Instrument
this
is entirely expected (and recommended) for AU's that have a static
config
capability. (An example of this is Art's Phatmatic Pro - its been out
like
this for over a year or more)...
Then, hosts that are not supporting this will still at least give you a
single stereo output.
I realise that this is not good for you in the short term - but its
been
acknowledged (graciously I might add) that this is a problem in Logic
that
will be fixed.
OK. Now only THREE questions arise:
1) How do I detected how many buses have been created/are supported by
the host? Is there a function I can call in Render (or elsewhere) to
detect it? Please name it.
2) I understand that Render() is called for each bus seperatly. How do
I detect for which bus the current Render() call is? Which function
should I call to find out?
3) Since I have a VST-style instrument beneath the AU functions (it's a
small wrapper), I can't support real rendering of seperate output
buses, hence I plan to render all outputs into internal buffers when
the timestamp changes and copy the buffer into the AUs output buffer
when Render() is called with an identical timestamp. Is this a sensible
approach and how do I find out the timestamp (sample-position would be
nice) for the current Render() call?
Thanks,
Mike
_______________________________________________
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