Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
terminal_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/terminal_type.h
10
//! @brief Terminal type.
11
12
#ifndef ROC_SNDIO_TERMINAL_TYPE_H_
13
#define ROC_SNDIO_TERMINAL_TYPE_H_
14
15
namespace
roc
{
16
namespace
sndio {
17
18
//! Terminal type.
19
enum
TerminalType
{
20
Terminal_Sink
,
//!< Sink.
21
Terminal_Source
//!< Source.
22
};
23
24
//! Convert terminal type to string.
25
const
char
*
terminal_type_to_str
(
TerminalType
type);
26
27
}
// namespace sndio
28
}
// namespace roc
29
30
#endif
// ROC_SNDIO_TERMINAL_TYPE_H_
roc::sndio::terminal_type_to_str
const char * terminal_type_to_str(TerminalType type)
Convert terminal type to string.
roc::sndio::TerminalType
TerminalType
Terminal type.
Definition:
terminal_type.h:19
roc::sndio::Terminal_Sink
@ Terminal_Sink
Sink.
Definition:
terminal_type.h:20
roc::sndio::Terminal_Source
@ Terminal_Source
Source.
Definition:
terminal_type.h:21
roc
Root namespace.
roc_sndio
terminal_type.h
Generated by
1.9.6