14 #ifndef _MprEchoSuppress_h_ 15 #define _MprEchoSuppress_h_ 20 #include "os/OsStatus.h" 107 unsigned long ulSigOut,
121 #endif // _MprEchoSuppress_h_ The "To Speaker" media processing resource.
Definition: MprToSpkr.h:47
FilterBank * mpFilterBank
Definition: MprEchoSuppress.h:91
void control_logic(unsigned long ulSigIn, unsigned long ulSigOut, short &shSpkState, int iFreezeFlag)
short mState
Definition: MprEchoSuppress.h:85
MpAudioBufPtr mpPrev
Definition: MprEchoSuppress.h:87
int mTicksPerFrame
Definition: MprEchoSuppress.h:88
void frame_match(const MpAudioBufPtr &in)
Definition: MprEchoSuppress.cpp:187
int mSpeechFake
Definition: MprEchoSuppress.h:89
virtual UtlBoolean doProcessFrame(MpBufPtr inBufs[], MpBufPtr outBufs[], int inBufsSize, int outBufsSize, UtlBoolean isEnabled, int samplesPerFrame, int samplesPerSecond)
This method does the real work for the media processing resource and must be defined in each class de...
Definition: MprEchoSuppress.cpp:292
short mshDelay
Definition: MprEchoSuppress.h:90
MprEchoSuppress(const UtlString &rName)
Constructor.
Definition: MprEchoSuppress.cpp:115
HandsetFilterBank * mpHandsetFilterBank
Definition: MprEchoSuppress.h:92
MpBufPtr LoudspeakerFade(MpBufPtr in, short &shSpkState, int iFreezeFlag)
Definition: MprEchoSuppress.cpp:260
virtual ~MprEchoSuppress()
Destructor.
Definition: MprEchoSuppress.cpp:149
Smart pointer to MpAudioBuf.
Definition: MpAudioBuf.h:168
Abstract base class for all audio processing objects.
Definition: MpAudioResource.h:38
int startSpeech()
Definition: MprEchoSuppress.cpp:168
MprEchoSuppress & operator=(const MprEchoSuppress &rhs)
Assignment operator (not implemented for this class)
The "Echo suppress" media processing resource.
Definition: MprEchoSuppress.h:39
Definition: FilterBank.h:45
int endSpeech()
Definition: MprEchoSuppress.cpp:174
Smart pointer to MpBuf.
Definition: MpBuf.h:160
MprToSpkr * mpSpkrPal
Definition: MprEchoSuppress.h:86
Definition: HandsetFilterBank.h:22
void setSpkrPal(MprToSpkr *pal)
Definition: MprEchoSuppress.cpp:163
UtlBoolean isEnabled() const
Returns TRUE is this resource is currently enabled, FALSE otherwise.
Definition: MpResource.cpp:440