6#ifndef SWIFT_SOUND_SAMPLEPROVIDER_SIMPLECOMPRESSOREFFECT_H
7#define SWIFT_SOUND_SAMPLEPROVIDER_SIMPLECOMPRESSOREFFECT_H
12#include "chunkware_dsp/SimpleComp.h"
17namespace swift::sound::sample_provider
43 bool m_enabled =
true;
45 chunkware_simple::SimpleComp m_simpleCompressor;
void setChannels(int channels)
Set channels 1 or 2.
void setEnabled(bool enabled)
Enable.
CSimpleCompressorEffect(ISampleProvider *source, QObject *parent=nullptr)
Ctor.
void setMakeUpGain(double gain)
Set gain.
int readSamples(QVector< float > &samples, qint64 count)
Read samples.
ISampleProvider(QObject *parent=nullptr)
Ctor.
QObject * parent() const const
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.