Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
resampler_backend.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 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_audio/resampler_backend.h
10
//! @brief Resampler backend.
11
12
#ifndef ROC_AUDIO_RESAMPLER_BACKEND_H_
13
#define ROC_AUDIO_RESAMPLER_BACKEND_H_
14
15
namespace
roc
{
16
namespace
audio {
17
18
//! Resampler backends.
19
enum
ResamplerBackend
{
20
//! Default backend.
21
ResamplerBackend_Default
,
22
23
//! Roc built-in resampler.
24
ResamplerBackend_Builtin
,
25
26
//! SpeexDSP resampler.
27
ResamplerBackend_Speex
28
};
29
30
//! Get string name of resampler backend.
31
const
char
*
resampler_backend_to_str
(
ResamplerBackend
);
32
33
}
// namespace audio
34
}
// namespace roc
35
36
#endif
// ROC_AUDIO_RESAMPLER_BACKEND_H_
roc::audio::ResamplerBackend
ResamplerBackend
Resampler backends.
Definition
resampler_backend.h:19
roc::audio::ResamplerBackend_Builtin
@ ResamplerBackend_Builtin
Roc built-in resampler.
Definition
resampler_backend.h:24
roc::audio::ResamplerBackend_Default
@ ResamplerBackend_Default
Default backend.
Definition
resampler_backend.h:21
roc::audio::ResamplerBackend_Speex
@ ResamplerBackend_Speex
SpeexDSP resampler.
Definition
resampler_backend.h:27
roc::audio::resampler_backend_to_str
const char * resampler_backend_to_str(ResamplerBackend)
Get string name of resampler backend.
roc
Root namespace.
roc_audio
resampler_backend.h
Generated by
1.9.7