Non-symmetric Audio Units
Non-symmetric Audio Units
- Subject: Non-symmetric Audio Units
- From: Roger Butler <email@hidden>
- Date: Fri, 10 Aug 2001 16:21:05 +1000
I'm working on a non-symmetric algorithm for a new audio unit. The
algorithm takes up to six channels of audio as input and produces
two-channel output. I'd like to know how to use RenderSlice() to achieve
this aim. At WWDC 2000 we were told that audio units could be non-symmetric
but the AudioBuffer structure passed to RenderSlice() looks like it assumes
the same number of input channels as output channels.
Can we do something as simple as change ioData->mNumberChannels (where
ioData is an AudioBuffer instance) to the number of outputs we're supplying?
Do we have to use multiple bus numbers? Are there AU parameters that give
the number of input or output channels? Does it just depend on the number
of channels the AU in front or behind our AU has? Or is there another way
of rendering non-symmetric audio?
Roger Butler,
Lake Technology.