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
RecoverySource.cpp
Go to the documentation of this file.
1
/*************************************************************************
2
RecoverySource.cpp - base class for recovered audio file data
3
-------------------
4
begin : Sun May 12 2002
5
copyright : (C) 2002 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
#include "config.h"
19
20
#include "
RecoverySource.h
"
21
22
//***************************************************************************
23
Kwave::RecoverySource::RecoverySource
(quint64 offset, quint64 length)
24
:m_offset(offset), m_length(length)
25
{
26
}
27
28
//***************************************************************************
29
quint64
Kwave::RecoverySource::offset
()
const
30
{
31
return
m_offset
;
32
}
33
34
//***************************************************************************
35
quint64
Kwave::RecoverySource::length
()
const
36
{
37
return
m_length
;
38
}
39
40
//***************************************************************************
41
quint64
Kwave::RecoverySource::end
()
const
42
{
43
return
m_offset
+ ((
m_length
) ? (
m_length
- 1) : 0);
44
}
45
46
//***************************************************************************
47
//***************************************************************************
Kwave::RecoverySource::length
virtual quint64 length() const
Definition:
RecoverySource.cpp:35
Kwave::RecoverySource::end
virtual quint64 end() const
Definition:
RecoverySource.cpp:41
Kwave::RecoverySource::offset
virtual quint64 offset() const
Definition:
RecoverySource.cpp:29
Kwave::RecoverySource::m_offset
quint64 m_offset
Definition:
RecoverySource.h:61
Kwave::RecoverySource::RecoverySource
RecoverySource(quint64 offset, quint64 length)
Definition:
RecoverySource.cpp:23
RecoverySource.h
Kwave::RecoverySource::m_length
quint64 m_length
Definition:
RecoverySource.h:64
plugins
codec_wav
RecoverySource.cpp
Generated on Sat Mar 24 2018 09:10:26 for kwave by
1.8.13