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
15namespace roc {
16namespace sndio {
17
18//! Terminal type.
20 Terminal_Sink, //!< Sink.
21 Terminal_Source //!< Source.
22};
23
24//! Convert terminal type to string.
26
27} // namespace sndio
28} // namespace roc
29
30#endif // ROC_SNDIO_TERMINAL_TYPE_H_
const char * terminal_type_to_str(TerminalType type)
Convert terminal type to string.
TerminalType
Terminal type.
Definition: terminal_type.h:19
@ Terminal_Sink
Sink.
Definition: terminal_type.h:20
@ Terminal_Source
Source.
Definition: terminal_type.h:21
Root namespace.