![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Mix all channels in a single unit to a single channel. More...
Inherits ChannelInternal< SampleType, ChannelData< ChannelMixerChannelInternal< SampleType > > >.
Public Types | |
typedef ChannelData < ChannelMixerChannelInternal < SampleType > > | Data |
To store channel state data. | |
Public Member Functions | |
void | initChannel (const int) throw () |
Called to initialise the channel's initial value. | |
void | process (ProcessInfo &info, const int) throw () |
The DSP function. |
Mix all channels in a single unit to a single channel.
typedef ChannelData< ChannelMixerChannelInternal < SampleType > > ChannelMixerChannelInternal< SampleType >::Data |
To store channel state data.
Sublasses should inherit from this, add their own members, and store an instance. Where applicable the structure should match the equivalents in the Plink library.
Reimplemented from ChannelInternalCore.
void ChannelMixerChannelInternal< SampleType >::initChannel | ( | const int | channel | ) | throw () [inline, virtual] |
Called to initialise the channel's initial value.
The ChannelInternal subclass should initialise itself using this channel of its inputs, calling initValue().
Implements ChannelInternalCore.
void ChannelMixerChannelInternal< SampleType >::process | ( | ProcessInfo & | info, |
const int | channel | ||
) | throw () [inline, virtual] |
The DSP function.
This function will do all the processing for derived class.
Implements ChannelInternalCore.