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

[#3507] Add DelayDetection classes

parent 0faf8c72
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ libaudio_la_SOURCES = \
audiolayer.cpp \
audiodevice.cpp \
samplerateconverter.cpp \
delaydetection.cpp \
echocancel.cpp \
speexechocancel.cpp \
audioprocessing.cpp \
......@@ -27,7 +28,8 @@ noinst_HEADERS = \
mainbuffer.h \
recordable.h \
algorithm.h \
echocancel.h
delaydetection.h \
echocancel.h \
speexechocancel.h \
audioprocessing.h \
dcblocker.h \
......
/*
* Copyright (C) 2004, 2005, 2006, 2009, 2008, 2009, 2010 Savoir-Faire Linux Inc.
* Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
#include "delaydetection.h"
DelayDetection::DelayDetection(){}
DelayDetection::~DelayDetection(){}
void DelayDetection::reset() {}
void DelayDetection::putData(SFLDataFormat *inputData, int nbBytes) {}
int DelayDetection::getData(SFLDataFormat *outputData) { return 0; }
void DelayDetection::process(SFLDataFormat *inputData, int nbBytes) {}
int DelayDetection::process(SFLDataFormat *intputData, SFLDataFormat *outputData, int nbBytes) { return 0; }
void DelayDetection::process(SFLDataFormat *micData, SFLDataFormat *spkrData, SFLDataFormat *outputData, int nbBytes) {}
/*
* Copyright (C) 2004, 2005, 2006, 2009, 2008, 2009, 2010 Savoir-Faire Linux Inc.
* Author: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Additional permission under GNU GPL version 3 section 7:
*
* If you modify this program, or any covered work, by linking or
* combining it with the OpenSSL project's OpenSSL library (or a
* modified version of that library), containing parts covered by the
* terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
* grants you additional permission to convey the resulting work.
* Corresponding Source for a non-source form of such a combination
* shall include the source code for the parts of OpenSSL used as well
* as that of the covered work.
*/
#ifndef DELAYDETECTION_H
#define DELAYDETECTION_H
#include "algorithm.h"
class DelayDetection : public Algorithm {
public:
DelayDetection();
~DelayDetection();
virtual void reset(void);
virtual void putData(SFLDataFormat *inputData, int nbBytes);
virtual int getData(SFLDataFormat *getData);
virtual void process(SFLDataFormat *inputData, int nbBytes);
virtual int process(SFLDataFormat *inputData, SFLDataFormat *outputData, int nbBytes);
virtual void process(SFLDataFormat *micData, SFLDataFormat *spkrData, SFLDataFormat *outputData, int nbBytes);
private:
};
#endif
......@@ -27,7 +27,9 @@ test_SOURCES = main.cpp \
rtptest.h \
rtptest.cpp \
sdesnegotiatortest.h \
sdesnegotiatortest.cpp
sdesnegotiatortest.cpp \
delaydetectiontest.h \
delaydetectiontest.cpp
......@@ -68,4 +70,5 @@ LLIBS=$(CPPUNIT_LIBS) \
../src/plug-in/pluginmanager.o \
../src/plug-in/audiorecorder/audiorecord.o \
../src/audio/samplerateconverter.o \
../src/history/historymanager.o
\ No newline at end of file
../src/audio/delaydetection.o \
../src/history/historymanager.o
\ No newline at end of file
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