iso::synth::ChannelMixCombineStrategy Class Reference

controls channel conversions between buffers, when the source buffer contains the same number of channels as the target buffer More...

#include <iso_synth_channel_mix_combine_strategy.h>

Inherits iso::synth::ChannelConversionStrategy.

Inheritance diagram for iso::synth::ChannelMixCombineStrategy:

Inheritance graph
[legend]
Collaboration diagram for iso::synth::ChannelMixCombineStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ChannelMixCombineStrategy (unsigned int pFrameCount, unsigned int pChannelCount, Link *pLink, ChannelMap *pMap)
 parameter based constructor
virtual ~ChannelMixCombineStrategy ()
 destructor
virtual String info (bool pPropagate=true) const
 obtain textual channel conversion strategy information

Protected Member Functions

 ChannelMixCombineStrategy ()
virtual void convert (Buffer *pBuffer)
 buffer conversion

Detailed Description

controls channel conversions between buffers, when the source buffer contains the same number of channels as the target buffer

conversions between buffers, when the source buffer contains the same number of channels as the target buffer

each source channels is copied into the corresponding target channel.
example: 3 in channels, 3 out channels
in channel 1 is copied to out channel 1
in channel 2 is copied to out channel 3
in channel 3 is copied to out channel 3
out channel 2 remains unchanged

Created by Daniel Bisig on 7/7/08.


Constructor & Destructor Documentation

ChannelMixCombineStrategy::ChannelMixCombineStrategy ( unsigned int  pFrameCount,
unsigned int  pChannelCount,
Link pLink,
ChannelMap pMap 
)

parameter based constructor

Parameters:
pFrameCount number of frames of internal backup buffer
pChannelCount numbder of channels of internal backup buffer
pLink link, this channel conversion strategy is part of
pMap channel map

ChannelMixCombineStrategy::~ChannelMixCombineStrategy (  )  [virtual]

destructor

ChannelMixCombineStrategy::ChannelMixCombineStrategy (  )  [protected]


Member Function Documentation

String ChannelMixCombineStrategy::info ( bool  pPropagate = true  )  const [virtual]

obtain textual channel conversion strategy information

Parameters:
pPropagate if true, the unit calls the info method of the next conversion strategy
Returns:
String containing unit information

Implements iso::synth::LinkConversionStrategy.

void ChannelMixCombineStrategy::convert ( Buffer pBuffer  )  [protected, virtual]

buffer conversion

Parameters:
pBuffer 

Implements iso::synth::ChannelConversionStrategy.


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:42 2011 for synth by  doxygen 1.5.1