23struct SpeexEchoState_;
25struct SpeexPreprocessState_;
46 using SpeexPreprocessStatePtr
50 SpeexEchoStatePtr echoState;
53 std::vector<SpeexPreprocessStatePtr> preprocessorStates;
55 std::unique_ptr<AudioFrame> procBuffer {};
60 bool shouldAEC {
false};
64 bool shouldDetectVoice {
false};
Wrapper class for libswresample.
void enableVoiceActivityDetection(bool enabled) override
Set the status of voice activity detection.
void enableEchoCancel(bool enabled) override
Set the status of echo cancellation.
std::shared_ptr< AudioFrame > getProcessed() override
Process and return a single AudioFrame.
void enableNoiseSuppression(bool enabled) override
Set the status of noise suppression includes de-reverb, de-noise, high pass filter,...
void enableAutomaticGainControl(bool enabled) override
Set the status of automatic gain control.
~SpeexAudioProcessor()=default
void emitSignal(Args... args)
struct SpeexPreprocessState_ SpeexPreprocessState
struct SpeexEchoState_ SpeexEchoState