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
PlayBackParam.h
Go to the documentation of this file.
1
/***************************************************************************
2
PlayBackParam.h - class with parameters for playback
3
-------------------
4
begin : Tue May 15 2001
5
copyright : (C) 2001 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 PLAY_BACK_PARAM_H
19
#define PLAY_BACK_PARAM_H
20
21
#include <QtGlobal>
22
#include <QString>
23
24
namespace
Kwave
25
{
26
31
typedef
enum
{
32
PLAYBACK_NONE
= 0,
33
PLAYBACK_JACK
,
34
PLAYBACK_QT_AUDIO
,
35
PLAYBACK_PULSEAUDIO
,
36
PLAYBACK_ALSA
,
37
PLAYBACK_OSS
,
38
PLAYBACK_INVALID
39
}
playback_method_t
;
40
42
inline
Kwave::playback_method_t
&
operator ++
(
Kwave::playback_method_t
&m) {
43
return
(m = (m <
Kwave::PLAYBACK_INVALID
) ?
44
static_cast<Kwave::playback_method_t>(static_cast<int>(m) + 1) : m);
45
}
46
51
class
Q_DECL_EXPORT
PlayBackParam
52
{
53
public
:
55
PlayBackParam
()
56
:rate(44100), channels(2), bits_per_sample(16),
57
device(), bufbase(10),
58
method(
Kwave
::
PLAYBACK_NONE
)
59
{
60
}
61
63
double
rate
;
64
66
unsigned
int
channels
;
67
69
unsigned
int
bits_per_sample
;
70
72
QString
device
;
73
75
unsigned
int
bufbase
;
76
78
Kwave::playback_method_t
method
;
79
80
};
81
}
82
83
#endif
/* PLAY_BACK_PARAM_H */
84
85
//***************************************************************************
86
//***************************************************************************
Kwave::PLAYBACK_NONE
Definition:
PlayBackParam.h:32
Kwave
Definition:
App.h:33
Kwave::PlayBackParam
Definition:
PlayBackParam.h:51
Kwave::PlayBackParam::device
QString device
Definition:
PlayBackParam.h:72
Kwave::PlayBackParam::channels
unsigned int channels
Definition:
PlayBackParam.h:66
Kwave::playback_method_t
playback_method_t
Definition:
PlayBackParam.h:31
Kwave::PlayBackParam::bits_per_sample
unsigned int bits_per_sample
Definition:
PlayBackParam.h:69
Kwave::PLAYBACK_ALSA
Definition:
PlayBackParam.h:36
Kwave::PLAYBACK_PULSEAUDIO
Definition:
PlayBackParam.h:35
Kwave::PLAYBACK_QT_AUDIO
Definition:
PlayBackParam.h:34
Kwave::PlayBackParam::bufbase
unsigned int bufbase
Definition:
PlayBackParam.h:75
Kwave::PLAYBACK_OSS
Definition:
PlayBackParam.h:37
Kwave::operator++
static FileProperty operator++(FileProperty &prop)
Definition:
FileInfo.h:104
Kwave::PlayBackParam::rate
double rate
Definition:
PlayBackParam.h:63
Kwave::PlayBackParam::method
Kwave::playback_method_t method
Definition:
PlayBackParam.h:78
Kwave::PLAYBACK_INVALID
Definition:
PlayBackParam.h:38
Kwave::PlayBackParam::PlayBackParam
PlayBackParam()
Definition:
PlayBackParam.h:55
Kwave::PLAYBACK_JACK
Definition:
PlayBackParam.h:33
libkwave
PlayBackParam.h
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13