12345678910111213141516171819202122232425262728293031 |
- #ifndef COMMON_AUDIO_WINDOW_GENERATOR_H_
- #define COMMON_AUDIO_WINDOW_GENERATOR_H_
- #include <stddef.h>
- namespace webrtc {
- class WindowGenerator {
- public:
- WindowGenerator() = delete;
- WindowGenerator(const WindowGenerator&) = delete;
- WindowGenerator& operator=(const WindowGenerator&) = delete;
- static void Hanning(int length, float* window);
- static void KaiserBesselDerived(float alpha, size_t length, float* window);
- };
- }
- #endif
|