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
TrackWriter.h
Go to the documentation of this file.
1
/***************************************************************************
2
TrackWriter.h - stream for writing samples into a track
3
-------------------
4
begin : Feb 11 2001
5
copyright : (C) 2001 by Thomas Eschenbacher
6
email : Thomas Eschenbacher <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 TRACK_WRITER_H
19
#define TRACK_WRITER_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QObject>
25
#include <QTime>
26
27
#include "
libkwave/Writer.h
"
28
29
namespace
Kwave
30
{
31
32
class
SampleArray;
33
class
Track;
34
42
class
Q_DECL_EXPORT
TrackWriter
:
public
Kwave::Writer
43
{
44
Q_OBJECT
45
public
:
56
TrackWriter
(
Kwave::Track
&track,
Kwave::InsertMode
mode,
57
sample_index_t
left = 0,
sample_index_t
right = 0);
58
62
virtual
~
TrackWriter
() Q_DECL_OVERRIDE;
63
75
virtual
bool
write(
const
Kwave::SampleArray
&buffer,
unsigned
int
&count)
76
Q_DECL_OVERRIDE;
77
78
private
:
79
81
Kwave::Track
&
m_track
;
82
84
QTime
m_progress_time
;
85
86
};
87
88
}
89
90
#endif
/* TRACK_WRITER_H */
91
92
//***************************************************************************
93
//***************************************************************************
Kwave::TrackWriter
Definition:
TrackWriter.h:42
Kwave::TrackWriter::m_track
Kwave::Track & m_track
Definition:
TrackWriter.h:81
Kwave
Definition:
App.h:33
sample_index_t
quint64 sample_index_t
Definition:
Sample.h:28
Writer.h
Kwave::Writer
Definition:
Writer.h:35
Kwave::SampleArray
Definition:
SampleArray.h:36
Kwave::Track
Definition:
Track.h:44
Kwave::InsertMode
InsertMode
Definition:
InsertMode.h:26
Kwave::TrackWriter::m_progress_time
QTime m_progress_time
Definition:
TrackWriter.h:84
libkwave
TrackWriter.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13