Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Functions
a
b
c
d
e
f
h
i
l
n
o
p
r
s
t
u
v
Variables
Typedefs
Enumerations
a
c
d
f
h
i
l
m
p
r
s
t
v
Enumerator
a
c
d
f
h
i
l
m
p
r
s
t
u
v
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
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Typedefs
Enumerations
Enumerator
b
c
d
e
f
i
m
n
q
r
s
x
Files
File List
File Members
All
f
o
r
Functions
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
device_type.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_sndio/device_type.h
10
//! @brief Device type.
11
12
#ifndef ROC_SNDIO_DEVICE_TYPE_H_
13
#define ROC_SNDIO_DEVICE_TYPE_H_
14
15
namespace
roc
{
16
namespace
sndio {
17
18
//! Device type.
19
enum
DeviceType
{
20
DeviceType_Sink
,
//!< Sink.
21
DeviceType_Source
//!< Source.
22
};
23
24
//! Convert device type to string.
25
const
char
*
device_type_to_str
(
DeviceType
type);
26
27
}
// namespace sndio
28
}
// namespace roc
29
30
#endif
// ROC_SNDIO_DEVICE_TYPE_H_
roc::sndio::DeviceType
DeviceType
Device type.
Definition:
device_type.h:19
roc::sndio::DeviceType_Source
@ DeviceType_Source
Source.
Definition:
device_type.h:21
roc::sndio::DeviceType_Sink
@ DeviceType_Sink
Sink.
Definition:
device_type.h:20
roc::sndio::device_type_to_str
const char * device_type_to_str(DeviceType type)
Convert device type to string.
roc
Root namespace.
roc_sndio
device_type.h
Generated by
1.9.1