Commit b4784ab7 authored by alexandresavard's avatar alexandresavard

Speex audio codec preprocessing initialization

parent f5c57cbf
......@@ -47,6 +47,7 @@ sflphoned_LDADD = \
@CCRTP_LIBS@ \
@ALSA_LIBS@ \
@PULSEAUDIO_LIBS@ \
-luuid \
@SAMPLERATE_LIBS@
#sflphoned_LDFLAGS=-pg
......
......@@ -22,6 +22,7 @@
#include <cstdio>
#include <speex/speex.h>
class Speex : public AudioCodec{
public:
Speex(int payload=0)
......
......@@ -376,7 +376,7 @@ void AudioRecord::recData(SFLDataFormat* buffer_1, SFLDataFormat* buffer_2, int
}
}
byteCounter_ += (unsigned long)(nSamples_1*sizeof(SFLDataFormat));
byteCounter_ += (unsigned long)(nSamples_1*sizeof(SFLDataFormat));
printf("AudioRecord::recData():: byteCounter_ : %i \n",(int)byteCounter_ );
......
......@@ -23,7 +23,7 @@
#include <sndfile.h>
#include "global.h"
#include "plug-in/plugin.h"
using namespace std;
......@@ -57,7 +57,7 @@ public:
void setRecordingOption(std::string name, FILE_TYPE type, SOUND_FORMAT format, int sndSmplRate);
/**
/**
* Check if no otehr file is opened, then create a new one
* @param fileName A string containing teh file (with/without extension)
* @param type The sound file format (FILE_RAW, FILE_WAVE)
......
......@@ -47,6 +47,7 @@ configurationTester_LDADD = \
@DBUSCPP_LIBS@ \
@SAMPLERATE_LIBS@ \
$(PJSIP_LIBS) \
-luuid \
$(OBJECT_FILES)
pluginmanagerTester_LDADD = \
......@@ -61,6 +62,7 @@ pluginmanagerTester_LDADD = \
@DBUSCPP_LIBS@ \
@SAMPLERATE_LIBS@ \
$(PJSIP_LIBS) \
-luuid \
$(OBJECT_FILES)
audiorecorderTester_LDADD = \
......@@ -75,5 +77,6 @@ audiorecorderTester_LDADD = \
@DBUSCPP_LIBS@ \
@SAMPLERATE_LIBS@ \
$(PJSIP_LIBS) \
-luuid \
$(OBJECT_FILES)
......@@ -32,6 +32,7 @@ void AudioRecorderTest::setUp(){
void AudioRecorderTest::testRecordData(){
/*
FILE_TYPE ft = FILE_WAV;
SOUND_FORMAT sf = INT16;
_ar->setSndSamplingRate(44100);
......@@ -47,6 +48,7 @@ void AudioRecorderTest::testRecordData(){
}
_ar->closeFile();
*/
}
void AudioRecorderTest::tearDown(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment