#include <iso_synth_frame_conversion_strategy.h>
Inherits iso::synth::LinkConversionStrategy.
Inherited by iso::synth::FrameCopySamplesStrategy.
Inheritance diagram for iso::synth::FrameConversionStrategy:
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 |
conversions and process calls when two directly connected units differ in their frameCount
Created by Daniel Bisig on 6/7/06.
FrameConversionStrategy::FrameConversionStrategy | ( | unsigned int | pFrameCount, | |
unsigned int | pChannelCount, | |||
unsigned int | pInProcCount, | |||
unsigned int | pOutProcCount, | |||
Link * | pLink | |||
) |
parameter based constructor
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] |
String FrameConversionStrategy::info | ( | bool | pPropagate = false |
) | const [virtual] |
obtain textual frame conversion strategy information
pPropagate | if true, the unit calls the info method of the next conversion strategy |
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.
unsigned int iso::synth::FrameConversionStrategy::mInProcCount [protected] |
unsigned int iso::synth::FrameConversionStrategy::mOutProcCount [protected] |
unsigned int iso::synth::FrameConversionStrategy::mCurrentProcCount [protected] |