iso::synth::ChannelConversionStrategy Class Reference

controls conversions between buffers that contain different numbers of channels More...

#include <iso_synth_channel_conversion_strategy.h>

Inherits iso::synth::LinkConversionStrategy.

Inherited by iso::synth::ChannelMixCombineStrategy, iso::synth::ChannelMixDirectStrategy, iso::synth::ChannelMixDownCombineStrategy, iso::synth::ChannelMixDownDropStrategy, iso::synth::ChannelMixUpDistributeStrategy, and iso::synth::ChannelMixUpIgnoreStrategy.

Inheritance diagram for iso::synth::ChannelConversionStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ChannelConversionStrategy (unsigned int pFrameCount, unsigned int pChannelCount, Link *pLink, ChannelMap *pMap)
 parameter based constructor
virtual ~ChannelConversionStrategy ()
 destructor
ChannelMapchannelMap ()
 returns channel map /return channel map
virtual void process (Buffer *pBuffer)
 process buffer

Protected Member Functions

 ChannelConversionStrategy ()
virtual void convert (Buffer *pBuffer)=0
 buffer conversion

Protected Attributes

ChannelMapmChannelMap
 channel map

Detailed Description

controls conversions between buffers that contain different numbers of channels

between buffers that contain different numbers of channels

Created by Daniel Bisig on 6/7/06.


Constructor & Destructor Documentation

ChannelConversionStrategy::ChannelConversionStrategy ( 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

ChannelConversionStrategy::~ChannelConversionStrategy (  )  [virtual]

destructor

ChannelConversionStrategy::ChannelConversionStrategy (  )  [protected]


Member Function Documentation

ChannelMap * ChannelConversionStrategy::channelMap (  ) 

returns channel map /return channel map

void ChannelConversionStrategy::process ( Buffer pBuffer  )  [virtual]

process buffer

Parameters:
pBuffer buffer to operate on

Implements iso::synth::LinkConversionStrategy.

virtual void iso::synth::ChannelConversionStrategy::convert ( Buffer pBuffer  )  [protected, pure virtual]

buffer conversion

Parameters:
pBuffer 

Implemented in iso::synth::ChannelMixCombineStrategy, iso::synth::ChannelMixDirectStrategy, iso::synth::ChannelMixDownCombineStrategy, iso::synth::ChannelMixDownDropStrategy, iso::synth::ChannelMixUpDistributeStrategy, and iso::synth::ChannelMixUpIgnoreStrategy.


Member Data Documentation

ChannelMap* iso::synth::ChannelConversionStrategy::mChannelMap [protected]

channel map


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