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