Debian Codegraph @

SDL_audiolib/include/Aulib/ResamplerSpeex.h

raw symbols SCIP
1 // This is copyrighted software. More information is at the end of this file.cxx . . $ `<file>/SDL_audiolib/include/Aulib/ResamplerSpeex.h`/
2 #pragma once
3
4 #include <Aulib/Resampler.h>cxx . . $ `<file>/SDL_audiolib/include/Aulib/Resampler.h`/
5
6 namespace Aulibcxx . . $ Aulib/ {
7
8 struct ResamplerSpeex_privcxx . . $ Aulib/ResamplerSpeex_priv#;
9
10 /*!
11 * \brief Speex resampler.
12 */
13 class AULIB_EXPORTcxx . . $ `src/aulib_export.h:6:11`! ResamplerSpeexcxx . . $ Aulib/ResamplerSpeex#: public Resamplercxx . . $ Aulib/Resampler#
14 {
15 public:
16 /*!
17 * \param quality
18 * Speex resampler quality level, from 0 to 10. The value is clamped
19 * if it lies outside this range. Note that the quality can be changed
20 * later on if required.
21 */
22 explicit ResamplerSpeexcxx . . $ Aulib/ResamplerSpeex#ResamplerSpeex(d4f767463ce0a6b3).(int quality = 5);
23 ~cxx . . $ Aulib/ResamplerSpeex#`~ResamplerSpeex`(ced63f7c635d850d).ResamplerSpeexcxx . . $ Aulib/ResamplerSpeex#() override;
24
25 auto qualitycxx . . $ Aulib/ResamplerSpeex#quality(ea6fe5115c70a13f).() const noexcept -> int;
26 void setQualitycxx . . $ Aulib/ResamplerSpeex#setQuality(d4f767463ce0a6b3).(int quality);
27
28 protected:
29 void doResamplingcxx . . $ Aulib/ResamplerSpeex#doResampling(93a0c093bcd73577).(float dst[], const float src[], int& dstLen, int& srcLen) override;
30 auto adjustForOutputSpeccxx . . $ Aulib/ResamplerSpeex#adjustForOutputSpec(2326284602b0bb2d).(int dstRate, int srcRate, int channels) -> int override;
31 void doDiscardPendingSamplescxx . . $ Aulib/ResamplerSpeex#doDiscardPendingSamples(49f6e7a06ebc5aa8).() override;
32
33 private:
34 const stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<ResamplerSpeex_privcxx . . $ Aulib/ResamplerSpeex_priv#> dcxx . . $ Aulib/ResamplerSpeex#d.;
35 };
36
37 } // namespace Aulib
38
39 /*
40
41 Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019 Nikos Chantziaras.
42
43 This file is part of SDL_audiolib.
44
45 SDL_audiolib is free software: you can redistribute it and/or modify it under
46 the terms of the GNU Lesser General Public License as published by the Free
47 Software Foundation, either version 3 of the License, or (at your option) any
48 later version.
49
50 SDL_audiolib is distributed in the hope that it will be useful, but WITHOUT
51 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
52 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
53 details.
54
55 You should have received a copy of the GNU Lesser General Public License
56 along with SDL_audiolib. If not, see <http://www.gnu.org/licenses/>.
57
58 */