Re: Custom AudioUnit PROCESS function
Re: Custom AudioUnit PROCESS function
- Subject: Re: Custom AudioUnit PROCESS function
- From: Stefan Gretscher <email@hidden>
- Date: Tue, 11 Jan 2005 10:56:52 +0100
Am 09.01.2005 um 10:32 schrieb Felipe Baytelman:
How do I know which bus (I assume a bus is one of the Stereo channel)
I'm processing?
For example, if I'm processing bus number two, I need to go back one
sample to merge it...
if I'm processing bus number one I should look one forward...
Don't confuse channels and busses. In AU world, a "bus" describes some
meaningful group of "channels"
that belong together - a bus can be mono, stereo, 5.1 surround, etc -
thus containing 1, 2, 6 etc. channels.
Think of busses as routing options of the AU in the host - e.g. in case
of stereo input, you want to route a
pair of channels in one go instead of wiring up left and right channel
separately.
In your case, you'd ideally have a stereo input bus and two mono output
busses.
But be aware that some hosts will not support an AU effect with such a
config, so if you intend to use the AU
in as many hosts as possible, you may rather go for an (additional) 1
stereo in bus/ 1 stereo out bus config.
Also, as Mark already described, you'll have to do some special
override in your rendering code to process
both input channels together at the same time.
Best,
Stefan
_______________________________________________
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