swift
|
Saw tooth generator. More...
Public Member Functions | |
CSinusGenerator (double frequencyHz, QObject *parent=nullptr) | |
Ctor. | |
virtual int | readSamples (QVector< float > &samples, qint64 count) |
Read samples. More... | |
void | setGain (double gain) |
Set the gain. | |
void | setFrequency (double frequencyHz) |
Set frequency in Hz. | |
![]() | |
ISampleProvider (QObject *parent=nullptr) | |
Ctor. | |
virtual | ~ISampleProvider () |
Dtor. | |
virtual bool | isFinished () const |
Finished? | |
Additional Inherited Members | |
![]() | |
static bool | verbose () |
Verbose logs? | |
Saw tooth generator.
Definition at line 17 of file sinusgenerator.h.
|
virtual |
Read samples.
Implements swift::sound::sample_provider::ISampleProvider.
Definition at line 21 of file sinusgenerator.cpp.