swift
|
Pink noise generator. More...
Public Member Functions | |
CVolumeSampleProvider (ISampleProvider *sourceProvider, QObject *parent=nullptr) | |
Noise generator. | |
virtual int | readSamples (QVector< float > &samples, qint64 count) |
Read samples. More... | |
double | getGainRatio () const |
Gain ratio, value a amplitude need to be multiplied with. More... | |
bool | setGainRatio (double gainRatio) |
Gain ratio, value a amplitude need to be multiplied with. More... | |
![]() | |
ISampleProvider (QObject *parent=nullptr) | |
Ctor. | |
virtual | ~ISampleProvider () |
Dtor. | |
virtual bool | isFinished () const |
Finished? | |
Additional Inherited Members | |
![]() | |
static bool | verbose () |
Verbose logs? | |
Pink noise generator.
Definition at line 15 of file volumesampleprovider.h.
|
inline |
Gain ratio, value a amplitude need to be multiplied with.
Definition at line 30 of file volumesampleprovider.h.
|
virtual |
Read samples.
Implements swift::sound::sample_provider::ISampleProvider.
Definition at line 22 of file volumesampleprovider.cpp.
bool swift::sound::sample_provider::CVolumeSampleProvider::setGainRatio | ( | double | gainRatio | ) |
Gain ratio, value a amplitude need to be multiplied with.
Definition at line 32 of file volumesampleprovider.cpp.