kwave
18.07.70
Delay.h
Go to the documentation of this file.
1
/***************************************************************************
2
Delay.h - delay line for small delays
3
-------------------
4
begin : Sun Nov 11 2007
5
copyright : (C) 2007 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef DELAY_H
19
#define DELAY_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QObject>
25
#include <QVariant>
26
27
#include "
libkwave/SampleArray.h
"
28
#include "
libkwave/SampleFIFO.h
"
29
#include "
libkwave/SampleSource.h
"
30
31
namespace
Kwave
32
{
33
34
class
Q_DECL_EXPORT
Delay
:
public
Kwave::SampleSource
35
{
36
Q_OBJECT
37
public
:
39
Delay
();
40
42
virtual
~
Delay
() Q_DECL_OVERRIDE;
43
45
virtual
void
goOn() Q_DECL_OVERRIDE;
46
47
signals:
49
void
output(
Kwave::SampleArray
data);
50
51
public
slots:
52
54
void
input(
Kwave::SampleArray
data);
55
60
void
setDelay(
const
QVariant &d);
61
62
private
:
63
65
Kwave::SampleFIFO
m_fifo
;
66
68
Kwave::SampleArray
m_out_buffer
;
69
71
unsigned
int
m_delay
;
72
};
73
}
74
75
#endif
/* DELAY_H */
76
77
//***************************************************************************
78
//***************************************************************************
Kwave::Delay::m_delay
unsigned int m_delay
Definition:
Delay.h:71
Kwave
Definition:
App.h:33
SampleSource.h
Kwave::Delay::m_fifo
Kwave::SampleFIFO m_fifo
Definition:
Delay.h:65
SampleFIFO.h
Kwave::Delay
Definition:
Delay.h:34
SampleArray.h
Kwave::Delay::m_out_buffer
Kwave::SampleArray m_out_buffer
Definition:
Delay.h:68
Kwave::SampleFIFO
Definition:
SampleFIFO.h:32
Kwave::SampleArray
Definition:
SampleArray.h:36
Kwave::SampleSource
Definition:
SampleSource.h:31
libkwave
modules
Delay.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13