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