Skip to content
Snippets Groups Projects
Commit 223e9f26 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

#5884: temporary fix segfault in pjsip memory pool

parent 61f7f03e
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,6 @@
#include "config.h"
// #define LIBEBOOK_VERSION_230
/**
* Structure used to store search callback and data
*/
......
......@@ -12,6 +12,8 @@
EchoSuppress::EchoSuppress(pj_pool_t *pool)
{
/*
pj_status_t status;
......@@ -31,6 +33,7 @@ EchoSuppress::EchoSuppress(pj_pool_t *pool)
if(status != PJ_SUCCESS) {
_error("EchoCancel: Error: Could not create echo canceller");
}
*/
}
EchoSuppress::~EchoSuppress()
......@@ -44,6 +47,7 @@ void EchoSuppress::reset()
void EchoSuppress::putData (SFLDataFormat *inputData, int nbBytes)
{
/*
pj_status_t status;
status = pjmedia_echo_playback(echoState, reinterpret_cast<pj_int16_t *>(inputData));
......@@ -51,17 +55,19 @@ void EchoSuppress::putData (SFLDataFormat *inputData, int nbBytes)
if(status != PJ_SUCCESS) {
_warn("EchoCancel: Warning: Problem while putting input data");
}
*/
}
int EchoSuppress::getData(SFLDataFormat *outputData)
{
/*
pj_status_t status;
status = pjmedia_echo_capture(echoState, reinterpret_cast<pj_int16_t *>(outputData), 0);
if(status != PJ_SUCCESS) {
_warn("EchoCancel: Warning: Problem while getting output data");
}
*/
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment