SpectMorph
smwavloader.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_WAV_LOADER_HH
4 #define SPECTMORPH_WAV_LOADER_HH
5 
6 #include <string>
7 #include <vector>
8 
9 namespace SpectMorph
10 {
11 
12 class WavLoader
13 {
14  std::vector<float> m_samples;
15  double m_mix_freq;
16 
17  WavLoader();
18 public:
19  static WavLoader* load (const std::string& filename);
20 
21  ~WavLoader();
22 
23  const std::vector<float>& samples();
24  double mix_freq();
25 };
26 
27 };
28 
29 #endif
Definition: smwavloader.hh:12
Definition: smaudio.hh:15