#ifndef __SPEEXDSP_H__ #define __SPEEXDSP_H__ #include typedef struct SpeexEchoState_ SpeexEchoState; typedef struct SpeexPreprocessState_ SpeexPreprocessState; class SpeexDsp { public: void preprocess(int16_t *pcm); void reset(); private: SpeexEchoState *m_state = nullptr; SpeexPreprocessState *m_preprocessState=nullptr; }; #endif // __SPEEXDSP_H__