6#ifndef SWIFT_SOUND_SAMPLEPROVIDER_VOLUMESAMPLEPROVIDER_H
7#define SWIFT_SOUND_SAMPLEPROVIDER_VOLUMESAMPLEPROVIDER_H
12namespace swift::sound::sample_provider
31 bool setGainRatio(
double gainRatio);
39 double m_gainRatio = 1.0;
int readSamples(QVector< float > &samples, qint64 count)
Read samples.
double getGainRatio() const
Gain ratio, value a amplitude need to be multiplied with.
CVolumeSampleProvider(ISampleProvider *sourceProvider, QObject *parent=nullptr)
Noise generator.
Sample provider interface.
ISampleProvider(QObject *parent=nullptr)
Ctor.
QObject * parent() const const
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.