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
MultiPlaybackSink.h
Go to the documentation of this file.
1
/***************************************************************************
2
MultiPlaybackSink.h - multi-track Kwave playback sink
3
-------------------
4
begin : Sun Nov 04 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 MULTI_PLAYBACK_SINK_H
19
#define MULTI_PLAYBACK_SINK_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QBitArray>
25
#include <QMutex>
26
#include <QVector>
27
28
#include "
libkwave/MultiTrackSink.h
"
29
#include "
libkwave/PlayBackDevice.h
"
30
#include "
libkwave/PlaybackSink.h
"
31
#include "
libkwave/SampleArray.h
"
32
33
namespace
Kwave
34
{
35
36
class
Q_DECL_EXPORT
MultiPlaybackSink
37
:
public
Kwave::MultiTrackSink
<Kwave::PlaybackSink, false>
38
{
39
Q_OBJECT
40
public
:
46
MultiPlaybackSink
(
unsigned
int
tracks,
Kwave::PlayBackDevice
*device);
47
49
virtual
~
MultiPlaybackSink
();
50
51
private
slots:
52
58
void
input(
unsigned
int
track,
Kwave::SampleArray
data);
59
60
private
:
61
63
unsigned
int
m_tracks
;
64
66
Kwave::PlayBackDevice
*
m_device
;
67
69
QVector< Kwave::SampleArray >
m_in_buffer
;
70
72
QBitArray
m_in_buffer_filled
;
73
75
Kwave::SampleArray
m_out_buffer
;
76
78
QMutex
m_lock
;
79
80
};
81
}
82
83
#endif
/* MULTI_PLAYBACK_SINK_H */
84
85
//***************************************************************************
86
//***************************************************************************
PlaybackSink.h
Kwave
Definition:
App.h:33
Kwave::MultiPlaybackSink::m_out_buffer
Kwave::SampleArray m_out_buffer
Definition:
MultiPlaybackSink.h:75
Kwave::MultiPlaybackSink::m_in_buffer
QVector< Kwave::SampleArray > m_in_buffer
Definition:
MultiPlaybackSink.h:69
Kwave::MultiTrackSink
Definition:
MultiTrackSink.h:34
MultiTrackSink.h
Kwave::MultiPlaybackSink::m_in_buffer_filled
QBitArray m_in_buffer_filled
Definition:
MultiPlaybackSink.h:72
SampleArray.h
Kwave::MultiPlaybackSink::m_lock
QMutex m_lock
Definition:
MultiPlaybackSink.h:78
Kwave::MultiPlaybackSink::m_tracks
unsigned int m_tracks
Definition:
MultiPlaybackSink.h:63
Kwave::MultiPlaybackSink
Definition:
MultiPlaybackSink.h:36
Kwave::MultiPlaybackSink::m_device
Kwave::PlayBackDevice * m_device
Definition:
MultiPlaybackSink.h:66
Kwave::SampleArray
Definition:
SampleArray.h:36
PlayBackDevice.h
Kwave::PlayBackDevice
Definition:
PlayBackDevice.h:46
libkwave
MultiPlaybackSink.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13