26 #include "Utils/Pimpl.h" 30 namespace PipelineExtensions
47 void start(MilliSeconds ms);
65 enum class FadeMode : unsigned char
96 bool initFader(FadeMode mode);
99 virtual void stop()=0;
100 virtual void play()=0;
138 #endif // CROSSFADER_H The CrossFadeableTimer class.
Definition: Fadeable.h:38
virtual void postProcessFadeIn()=0
Some additional stuff the implementation class wants to do when fading in.
MilliSeconds fadingTimeMs() const
get fading time in ms. This is useful to calculate the beginning of the next track
virtual double internalVolume() const =0
get current volume of pipeline
virtual void setInternalVolume(double vol)=0
set current volume of pipeline
void fadeIn()
start to fade in
The CrossFader class.
Definition: Fadeable.h:59
void abortFader()
Stops the current fader process.
virtual void postProcessFadeOut()=0
Some additional stuff the implementation class wants to do when fading out.
void fadeOut()
start to fade out