SpectMorph
smminiresampler.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.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 
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
Definition: smminiresampler.hh:13
Definition: smalignedarray.cc:7
Definition: smwavdata.hh:13