iso::synth::FrameCopySamplesStrategy Class Reference

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

#include <iso_synth_frame_copy_samples_strategy.h>

Inherits iso::synth::FrameConversionStrategy.

Inheritance diagram for iso::synth::FrameCopySamplesStrategy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FrameCopySamplesStrategy (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pInProcCount, unsigned int pOutProcCount, Link *pLink)
virtual ~FrameCopySamplesStrategy ()
virtual void process (Buffer *pBuffer)
 process buffer
virtual String info (bool pPropagate=true) const
 obtain textual frame conversion strategy information

Protected Member Functions

 FrameCopySamplesStrategy ()
virtual void convert (sample *pSourceSamples, sample *pTargetSamples, unsigned int pSampleCount)

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

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

FrameCopySamplesStrategy::~FrameCopySamplesStrategy (  )  [virtual]

FrameCopySamplesStrategy::FrameCopySamplesStrategy (  )  [protected]


Member Function Documentation

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

process buffer

Parameters:
pBuffer buffer to operate on
process calls propagate from link conversion strategy to next link conversion strategy
when no more link conversion strategy is available, the process call propagates to the output port of the link

Implements iso::synth::LinkConversionStrategy.

String FrameCopySamplesStrategy::info ( bool  pPropagate = true  )  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

Reimplemented from iso::synth::FrameConversionStrategy.

void FrameCopySamplesStrategy::convert ( sample pSourceSamples,
sample pTargetSamples,
unsigned int  pSampleCount 
) [protected, virtual]

Implements iso::synth::FrameConversionStrategy.


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