If recording and playback are synchronised, use this call to cancel the echos.
If recording and playback are synchronised, use this call to cancel the echos.
Recorded audio frame
Audio destined for play back
Echo cancelled recorded audio packet
Captured audio should be passed to this function after it has been recorded from the sound card.
Captured audio should be passed to this function after it has been recorded from the sound card. Use this call in conjunction with the @see playback call if the sound card read and writes (record and playback) are in different threads.
Note that @see capture and @see playback are not thread safe.
The recorded audio buffer
The audio with cancelled echo.
Release all pointers allocated for the decoder.
Release all pointers allocated for the decoder. Make every attempt to call this when you are done with the encoder as finalise() is what it is in the JVM
Call this every time a voice packet is played to the speakers.
Call this every time a voice packet is played to the speakers. Use this call in conjunction with the @see capture call if the sound card read and writes (record and playback) are in different threads.
Note that @see capture and @see playback are not thread safe.
Audio that has just been or about to be played
Wrapper for the Speex echo canceller function. Note that the playback and capture methods are designed to run in separate threads, hence the synchronization on this. If you use playback/capture with cancel, you deserve what you get.