40 const float m_threshold;
52 Threshold(std::shared_ptr<ISound> sound,
float threshold = 0.0f);
57 float getThreshold()
const;
75 static void AUD_LOCAL endThresholdFilter(
float* threshold);
#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
float sample_t
Sample type.(float samples)
Definition: Audaspace.h:126
#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.
This sound Transforms any signal to a square signal by thresholding.
Definition: Threshold.h:34
This class provides an interface for infinite impulse response filters via a callback filter function...
Definition: CallbackIIRFilterReader.h:49
#define AUD_LOCAL
Used for hiding symbols from export in the shared library.
Definition: Audaspace.h:80
This sound is a base class for all effect factories that take one other sound as input.
Definition: Effect.h:33