kwave
18.07.70
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
f
h
i
l
m
o
p
r
s
t
u
w
y
z
Functions
Typedefs
Enumerations
+
Enumerator
a
b
c
f
i
l
o
p
r
s
u
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
i
l
m
p
q
r
s
t
x
z
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
SampleRatePlugin.h
Go to the documentation of this file.
1
/*************************************************************************
2
SampleRatePlugin.h - sample rate conversion
3
-------------------
4
begin : Tue Jul 07 2009
5
copyright : (C) 2009 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 SAMPLE_RATE_PLUGIN_H
19
#define SAMPLE_RATE_PLUGIN_H
20
21
#include "config.h"
22
23
#include <QString>
24
#include <QStringList>
25
26
#include "
libkwave/Plugin.h
"
27
#include "
libkwave/Sample.h
"
28
#include "
libkwave/SampleArray.h
"
29
30
namespace
Kwave
31
{
36
class
SampleRatePlugin
:
public
Kwave::Plugin
37
{
38
Q_OBJECT
39
40
public
:
41
47
SampleRatePlugin
(QObject *parent,
const
QVariantList &args);
48
50
virtual
~SampleRatePlugin
() Q_DECL_OVERRIDE;
51
56
virtual
void
run
(QStringList params) Q_DECL_OVERRIDE;
57
58
protected
:
59
65
int
interpreteParameters
(QStringList ¶ms);
66
67
private
:
68
70
QStringList
m_params
;
71
73
double
m_new_rate
;
74
76
bool
m_whole_signal
;
77
78
};
79
}
80
81
#endif
/* SAMPLE_RATE_PLUGIN_H */
82
83
//***************************************************************************
84
//***************************************************************************
Kwave
Definition:
App.h:33
Plugin.h
Kwave::SampleRatePlugin
Definition:
SampleRatePlugin.h:36
Kwave::SampleRatePlugin::SampleRatePlugin
SampleRatePlugin(QObject *parent, const QVariantList &args)
Definition:
SampleRatePlugin.cpp:44
Kwave::SampleRatePlugin::m_new_rate
double m_new_rate
Definition:
SampleRatePlugin.h:73
Kwave::SampleRatePlugin::run
virtual void run(QStringList params) Q_DECL_OVERRIDE
Definition:
SampleRatePlugin.cpp:88
Kwave::SampleRatePlugin::interpreteParameters
int interpreteParameters(QStringList ¶ms)
Definition:
SampleRatePlugin.cpp:57
Sample.h
Kwave::SampleRatePlugin::m_whole_signal
bool m_whole_signal
Definition:
SampleRatePlugin.h:76
Kwave::Plugin
Definition:
Plugin.h:75
SampleArray.h
Kwave::SampleRatePlugin::~SampleRatePlugin
virtual ~SampleRatePlugin() Q_DECL_OVERRIDE
Definition:
SampleRatePlugin.cpp:52
Kwave::SampleRatePlugin::m_params
QStringList m_params
Definition:
SampleRatePlugin.h:70
plugins
samplerate
SampleRatePlugin.h
Generated on Sat Mar 24 2018 09:10:27 for kwave by
1.8.13