iso::synth::FrameConversionStrategy Class Reference

handles buffer conversions and process calls when two directly connected units differ in their frameCount More...

#include <iso_synth_frame_conversion_strategy.h>

Inherits iso::synth::LinkConversionStrategy.

Inherited by iso::synth::FrameCopySamplesStrategy.

Inheritance diagram for iso::synth::FrameConversionStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FrameConversionStrategy (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pInProcCount, unsigned int pOutProcCount, Link *pLink)
 parameter based constructor
virtual ~FrameConversionStrategy ()
virtual String info (bool pPropagate=false) const
 obtain textual frame conversion strategy information

Protected Member Functions

 FrameConversionStrategy ()
virtual void convert (sample *pSourceSamples, sample *pTargetSamples, unsigned int pSampleCount)=0

Protected Attributes

unsigned int mInProcCount
unsigned int mOutProcCount
unsigned int mCurrentProcCount

Detailed Description

handles buffer conversions and process calls when two directly connected units differ in their frameCount

conversions and process calls when two directly connected units differ in their frameCount

Created by Daniel Bisig on 6/7/06.


Constructor & Destructor Documentation

FrameConversionStrategy::FrameConversionStrategy ( unsigned int  pFrameCount,
unsigned int  pChannelCount,
unsigned int  pInProcCount,
unsigned int  pOutProcCount,
Link pLink 
)

parameter based constructor

Parameters:
pFrameCount number of frames of internal backup buffer
pChannelCount number of channels of internal backup buffer
pInProcCount number of processing steps that cause a single processing call
pOutProcCount number of processing steps per single pcocessing call
pLink link, this frame conversion strategy is part of

FrameConversionStrategy::~FrameConversionStrategy (  )  [virtual]

FrameConversionStrategy::FrameConversionStrategy (  )  [protected]


Member Function Documentation

String FrameConversionStrategy::info ( bool  pPropagate = false  )  const [virtual]

obtain textual frame 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.

Reimplemented in iso::synth::FrameCopySamplesStrategy.

virtual void iso::synth::FrameConversionStrategy::convert ( sample pSourceSamples,
sample pTargetSamples,
unsigned int  pSampleCount 
) [protected, pure virtual]

Implemented in iso::synth::FrameCopySamplesStrategy.


Member Data Documentation

unsigned int iso::synth::FrameConversionStrategy::mInProcCount [protected]

unsigned int iso::synth::FrameConversionStrategy::mOutProcCount [protected]

unsigned int iso::synth::FrameConversionStrategy::mCurrentProcCount [protected]


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