#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:
Public Member Functions | |
ChannelConversionStrategy (unsigned int pFrameCount, unsigned int pChannelCount, Link *pLink, ChannelMap *pMap) | |
parameter based constructor | |
virtual | ~ChannelConversionStrategy () |
destructor | |
ChannelMap * | channelMap () |
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 | |
ChannelMap * | mChannelMap |
channel map |
between buffers that contain different numbers of channels
Created by Daniel Bisig on 6/7/06.
ChannelConversionStrategy::ChannelConversionStrategy | ( | unsigned int | pFrameCount, | |
unsigned int | pChannelCount, | |||
Link * | pLink, | |||
ChannelMap * | pMap | |||
) |
parameter based constructor
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] |
ChannelMap * ChannelConversionStrategy::channelMap | ( | ) |
returns channel map /return channel map
void ChannelConversionStrategy::process | ( | Buffer * | pBuffer | ) | [virtual] |
process buffer
pBuffer | buffer to operate on |
Implements iso::synth::LinkConversionStrategy.
virtual void iso::synth::ChannelConversionStrategy::convert | ( | Buffer * | pBuffer | ) | [protected, pure virtual] |
buffer conversion
pBuffer |
Implemented in iso::synth::ChannelMixCombineStrategy, iso::synth::ChannelMixDirectStrategy, iso::synth::ChannelMixDownCombineStrategy, iso::synth::ChannelMixDownDropStrategy, iso::synth::ChannelMixUpDistributeStrategy, and iso::synth::ChannelMixUpIgnoreStrategy.
channel map