[DEV] correct release display and ald compilator error build

This commit is contained in:
Edouard DUPIN 2015-04-20 22:11:15 +02:00
parent 715957ac75
commit 8a3689fa50
4 changed files with 27 additions and 24 deletions

View File

@ -25,6 +25,7 @@
#include <audio/algo/chunkware/Compressor.h>
#include <audio/algo/chunkware/debug.h>
#include <cmath>
audio::algo::chunkware::Compressor::Compressor() :
AttRelEnvelope(10.0, 100.0),

View File

@ -26,6 +26,7 @@
#include <audio/algo/chunkware/Gate.h>
#include <audio/algo/chunkware/debug.h>
#include <cmath>
audio::algo::chunkware::Gate::Gate() :
AttRelEnvelope(1.0, 100.0),

View File

@ -26,6 +26,7 @@
#include <audio/algo/chunkware/Limiter.h>
#include <audio/algo/chunkware/debug.h>
#include <cmath>
audio::algo::chunkware::Limiter::Limiter() :
m_isConfigured(false),

View File

@ -112,12 +112,12 @@ void performanceCompressor() {
perfo.toc();
usleep(1000);
}
APPL_INFO("Performance Compressor (double): ");
APPL_INFO(" blockSize=" << input.size() << " sample");
APPL_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
APPL_PRINT("Performance Compressor (double): ");
APPL_PRINT(" blockSize=" << input.size() << " sample");
APPL_PRINT(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
<< perfo.getMaxProcessing().count() << "ns ");
APPL_INFO(" min < avg < max= " << (float((perfo.getMinProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
APPL_PRINT(" min < avg < max= " << (float((perfo.getMinProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
<< (float(((perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration())*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
<< (float((perfo.getMaxProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "%");
}
@ -154,12 +154,12 @@ void performanceLimiter() {
perfo.toc();
usleep(1000);
}
APPL_INFO("Performance Limiter (double): ");
APPL_INFO(" blockSize=" << input.size() << " sample");
APPL_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
APPL_PRINT("Performance Limiter (double): ");
APPL_PRINT(" blockSize=" << input.size() << " sample");
APPL_PRINT(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
<< perfo.getMaxProcessing().count() << "ns ");
APPL_INFO(" min < avg < max = " << (float((perfo.getMinProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
APPL_PRINT(" min < avg < max = " << (float((perfo.getMinProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
<< (float(((perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration())*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
<< (float((perfo.getMaxProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "%");
}
@ -196,12 +196,12 @@ void performanceGate() {
perfo.toc();
usleep(1000);
}
APPL_INFO("Performance Gate (double): ");
APPL_INFO(" blockSize=" << input.size() << " sample");
APPL_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
APPL_PRINT("Performance Gate (double): ");
APPL_PRINT(" blockSize=" << input.size() << " sample");
APPL_PRINT(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
<< perfo.getMaxProcessing().count() << "ns ");
APPL_INFO(" min < avg < max = " << (float((perfo.getMinProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
APPL_PRINT(" min < avg < max = " << (float((perfo.getMinProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
<< (float(((perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration())*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
<< (float((perfo.getMaxProcessing().count()*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "%");
}