SpectMorph
lib
smminiresampler.hh
1
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl-2.1.html
2
3
#ifndef SPECTMORPH_MINI_RESAMPLER_HH
4
#define SPECTMORPH_MINI_RESAMPLER_HH
5
6
#include "smwavdata.hh"
7
8
#include <vector>
9
10
namespace
SpectMorph
11
{
12
13
class
MiniResampler
14
{
15
std::vector<float> m_samples;
16
public
:
17
MiniResampler
(
const
WavData
& wav_data,
double
speedup_factor);
18
19
int
read (
size_t
pos,
size_t
block_size,
float
*out);
20
uint64 length();
21
};
22
23
};
24
25
#endif
SpectMorph::MiniResampler
Definition:
smminiresampler.hh:14
SpectMorph::WavData
Definition:
smwavdata.hh:17
Generated on Wed Nov 1 2023 22:01:19 for SpectMorph by
1.9.1