| 38 | } // namespace |
| 39 | |
| 40 | bool Spectrogram::Initialize(int window_length, int step_length) { |
| 41 | std::vector<double> window; |
| 42 | GetPeriodicHann(window_length, &window); |
| 43 | return Initialize(window, step_length); |
| 44 | } |
| 45 | |
| 46 | inline int Log2Floor(uint32_t n) { |
| 47 | if (n == 0) return -1; |
nothing calls this directly
no test coverage detected