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 <bse/gsldatautils.hh>
7 
8 #include <vector>
9 
10 namespace SpectMorph
11 {
12 
14 {
15  GslDataHandle *m_dhandle;
16  GslDataPeekBuffer m_peek_buffer;
17  double m_speedup_factor;
18 public:
19  MiniResampler (GslDataHandle *dhandle, double speedup_factor);
20 
21  int read (uint64 pos, size_t block_size, float *out);
22  uint64 length();
23 };
24 
25 };
26 
27 #endif
Definition: smminiresampler.hh:13
Definition: smaudio.hh:15