#include <iso_synth_rate_repeat_samples_strategy.h>
Inherits iso::synth::RateConversionStrategy.
Inheritance diagram for iso::synth::RateRepeatSamplesStrategy:
Public Member Functions | |
RateRepeatSamplesStrategy (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRateRatio, unsigned int pInProcCount, unsigned int pOutProcCount, Link *pLink) | |
virtual | ~RateRepeatSamplesStrategy () |
virtual void | process (Buffer *pBuffer) |
process buffer | |
virtual String | info (bool pPropagate) const |
obtain textual rate conversion strategy information | |
Protected Member Functions | |
RateRepeatSamplesStrategy () | |
virtual void | convert (sample *pSourceSamples, sample *pTargetSamples, unsigned int pSampleCount) |
behavior in links
Created by Daniel Bisig on 6/7/06.
RateRepeatSamplesStrategy::RateRepeatSamplesStrategy | ( | unsigned int | pFrameCount, | |
unsigned int | pChannelCount, | |||
unsigned int | pRateRatio, | |||
unsigned int | pInProcCount, | |||
unsigned int | pOutProcCount, | |||
Link * | pLink | |||
) |
RateRepeatSamplesStrategy::~RateRepeatSamplesStrategy | ( | ) | [virtual] |
RateRepeatSamplesStrategy::RateRepeatSamplesStrategy | ( | ) | [protected] |
void RateRepeatSamplesStrategy::process | ( | Buffer * | pBuffer | ) | [virtual] |
process buffer
pBuffer | buffer to operate on |
Implements iso::synth::LinkConversionStrategy.
String RateRepeatSamplesStrategy::info | ( | bool | pPropagate | ) | const [virtual] |
obtain textual rate conversion strategy information
pPropagate | if true, the unit calls the info method of the next conversion strategy |
Reimplemented from iso::synth::RateConversionStrategy.
void RateRepeatSamplesStrategy::convert | ( | sample * | pSourceSamples, | |
sample * | pTargetSamples, | |||
unsigned int | pSampleCount | |||
) | [protected, virtual] |
Implements iso::synth::RateConversionStrategy.