![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Where true multiple-input-multiple-output units are needed This is where all outputs depend on all inputs in a matrix configuration a proxy system is used. More...
Inherits ChannelInternal< SampleType, DataType >.
Where true multiple-input-multiple-output units are needed This is where all outputs depend on all inputs in a matrix configuration a proxy system is used.
Here one ProxyOwnerChannelInternal object is created that in turn creates a series of (dumb) ProxyChannelInternal objects (which essentially hold buffers of samples). Subclasses that need to operate this way inherit from ProxyOwnerChannelInternal. In this case the process() function processes the sample data for all channels rather than just one, writing outputs for the 2nd channel and higher to the buffers in the proxies. ProxyOwnerChannelInternal and ProxyChannelInternal keep references to each other in a mutually dependent way so that should the channels be split into separate units (and perhaps recombined later) all the channels stay in memory until only mutual references remain.