|
kwave
18.07.70
|
#include <Delay.h>


Public Slots | |
| void | input (Kwave::SampleArray data) |
| void | setDelay (const QVariant &d) |
Signals | |
| void | output (Kwave::SampleArray data) |
Signals inherited from Kwave::StreamObject | |
| void | attributeChanged (const QVariant value) |
Public Member Functions | |
| Delay () | |
| virtual | ~Delay () Q_DECL_OVERRIDE |
| virtual void | goOn () Q_DECL_OVERRIDE |
Public Member Functions inherited from Kwave::SampleSource | |
| SampleSource (QObject *parent=Q_NULLPTR) | |
| virtual | ~SampleSource () |
| virtual bool | done () const |
Public Member Functions inherited from Kwave::StreamObject | |
| StreamObject (QObject *parent=Q_NULLPTR) | |
| virtual | ~StreamObject () |
| virtual unsigned int | tracks () const |
| virtual Kwave::StreamObject * | operator[] (unsigned int track) |
| virtual unsigned int | tracksOfPort (const char *port) const |
| virtual Kwave::StreamObject * | port (const char *port, unsigned int track) |
| virtual unsigned int | blockSize () const |
| void | setAttribute (const char *attribute, const QVariant &value) |
Private Attributes | |
| Kwave::SampleFIFO | m_fifo |
| Kwave::SampleArray | m_out_buffer |
| unsigned int | m_delay |
Additional Inherited Members | |
Static Public Member Functions inherited from Kwave::StreamObject | |
| static void | setInteractive (bool interactive) |
| Kwave::Delay::Delay | ( | ) |
|
virtual |
does the calculation
Implements Kwave::SampleSource.
Definition at line 35 of file Delay.cpp.
References Kwave::SampleFIFO::get(), m_fifo, m_out_buffer, and output().

|
slot |
receives input data
Definition at line 42 of file Delay.cpp.
References m_fifo, and Kwave::SampleFIFO::put().

|
signal |
emits a block with delayed wave data
Referenced by goOn().

|
slot |
Sets the delay time, normed to samples. The default setting is zero.
Definition at line 48 of file Delay.cpp.
References Kwave::StreamObject::blockSize(), Kwave::SampleFIFO::flush(), m_delay, m_fifo, Kwave::SampleFIFO::put(), Kwave::SampleArray::resize(), and Kwave::SampleArray::size().

|
private |
|
private |
buffer for delaying data
Definition at line 65 of file Delay.h.
Referenced by goOn(), input(), and setDelay().
|
private |