SpectMorph
smmorphutils.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_MORPH_UTILS_HH
4 #define SPECTMORPH_MORPH_UTILS_HH
5 
6 #include <algorithm>
7 #include <vector>
8 #include <stdint.h>
9 
10 namespace SpectMorph
11 {
12 
13 namespace MorphUtils
14 {
15 
16 struct FreqState
17 {
18  float freq_f;
19  int used;
20 };
21 
22 bool find_match (float freq, const FreqState *freq_state, size_t freq_state_size, size_t *index);
23 void init_freq_state (const std::vector<uint16_t>& fint, FreqState *freq_state);
24 
25 }
26 
27 }
28 
29 #endif
Definition: smmorphutils.hh:16
Definition: smalignedarray.cc:7