 |
Sayonara Player
|
26 #include "Utils/Pimpl.h"
30 namespace PipelineExtensions
47 void start(MilliSeconds ms);
65 enum class FadeMode : unsigned char
97 bool init_fader(FadeMode mode);
100 virtual void stop()=0;
101 virtual void play()=0;
139 #endif // CROSSFADER_H
The CrossFader class.
Definition: Fadeable.h:59
virtual void fade_out_handler()=0
Some additional stuff the parent class wants to do when fading out.
void fade_out()
start to fade out
virtual void set_internal_volume(double vol)=0
set current volume of pipeline
void fade_in()
start to fade in
void abort_fader()
Stops the current fader process.
virtual void fade_in_handler()=0
Some additional stuff the parent class wants to do when fading in.
virtual double get_internal_volume() const =0
get current volume of pipeline
The CrossFadeableTimer class.
Definition: Fadeable.h:38
MilliSeconds get_fading_time_ms() const
get fading time in ms. This is useful to calculate the beginning of the next track