51 const double m_length;
65 Fader(std::shared_ptr<ISound> sound,
67 double start = 0,
double length = 1);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
Defines the FaderReader class as well as the two fading types.
FadeType
Fading types.
Definition FaderReader.h:31
This sound is a base class for all effect factories that take one other sound as input.
Definition Effect.h:34
This sound fades another sound.
Definition Fader.h:36
FadeType getType() const
Returns the fading type.
Fader(std::shared_ptr< ISound > sound, FadeType type=FADE_IN, double start=0, double length=1)
Creates a new fader sound.
double getLength() const
Returns the fading length.
double getStart() const
Returns the fading start.
virtual std::shared_ptr< IReader > createReader()
Creates a reader for playback of the sound source.