#include <iso_synth_link_fade_strategy.h>
Collaboration diagram for iso::synth::LinkFadeStrategy:
Public Member Functions | |
LinkFadeStrategy (Link *pLink, sample pDuration, LinkFadeMode pFadeMode) | |
default constructor | |
virtual | ~LinkFadeStrategy () |
destructor | |
void | process (Buffer *pBuffer) |
process buffer | |
bool | finished () const |
check fading finished | |
Protected Member Functions | |
LinkFadeStrategy () | |
Protected Attributes | |
Link * | mLink |
sample | mDuration |
int | mTotalSampleCount |
fade duration | |
int | mRemainingSampleCount |
sample | mTargetFadeValue |
sample | mCurrentFadeValue |
LinkFadeMode | mFadeMode |
bool | mFinished |
fade mode |
LinkFadeStrategy::LinkFadeStrategy | ( | Link * | pLink, | |
sample | pDuration, | |||
LinkFadeMode | pFadeMode | |||
) |
default constructor
pDuration | fade duration (in milisecs) | |
pFadeMode | fade mode |
LinkFadeStrategy::~LinkFadeStrategy | ( | ) | [virtual] |
destructor
LinkFadeStrategy::LinkFadeStrategy | ( | ) | [protected] |
void LinkFadeStrategy::process | ( | Buffer * | pBuffer | ) |
process buffer
pBuffer | buffer to operate on |
bool LinkFadeStrategy::finished | ( | ) | const |
check fading finished
Link* iso::synth::LinkFadeStrategy::mLink [protected] |
sample iso::synth::LinkFadeStrategy::mDuration [protected] |
int iso::synth::LinkFadeStrategy::mTotalSampleCount [protected] |
fade duration
int iso::synth::LinkFadeStrategy::mRemainingSampleCount [protected] |
sample iso::synth::LinkFadeStrategy::mTargetFadeValue [protected] |
LinkFadeMode iso::synth::LinkFadeStrategy::mFadeMode [protected] |
bool iso::synth::LinkFadeStrategy::mFinished [protected] |
fade mode