6 #ifndef SWIFT_SOUND_SAMPLEPROVIDER_SIMPLECOMPRESSOREFFECT_H
7 #define SWIFT_SOUND_SAMPLEPROVIDER_SIMPLECOMPRESSOREFFECT_H
12 #include "sound/dsp/SimpleComp.h"
16 namespace swift::sound::sample_provider
28 virtual int readSamples(QVector<float> &samples, qint64 count)
override;
31 void setEnabled(
bool enabled);
34 void setMakeUpGain(
double gain);
37 void setChannels(
int channels);
40 QTimer *m_timer =
nullptr;
42 bool m_enabled =
true;
Sample provider interface.
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.