Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
resampler_profile.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 Roc 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_profile.h
10 //! @brief Resampler profile.
11 
12 #ifndef ROC_AUDIO_RESAMPLER_PROFILE_H_
13 #define ROC_AUDIO_RESAMPLER_PROFILE_H_
14 
15 #include "roc_audio/resampler.h"
16 
17 namespace roc {
18 namespace audio {
19 
20 //! Resampler parameters presets.
22  //! Low quality, fast speed.
24 
25  //! Medium quality, medium speed.
27 
28  //! Hight quality, low speed.
30 };
31 
32 //! Get parameters for given resampler profile.
34 
35 } // namespace audio
36 } // namespace roc
37 
38 #endif // ROC_AUDIO_RESAMPLER_PROFILE_H_
Root namespace.
Low quality, fast speed.
Resampler parameters.
Definition: resampler.h:28
Resampler.
ResamplerConfig resampler_profile(ResamplerProfile profile)
Get parameters for given resampler profile.
ResamplerProfile
Resampler parameters presets.
Medium quality, medium speed.
Hight quality, low speed.