[DEV] correct release display and ald compilator error build
This commit is contained in:
parent
715957ac75
commit
8a3689fa50
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -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),
|
||||
|
@ -112,14 +112,14 @@ 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 < "
|
||||
<< 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 << "% < "
|
||||
<< (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 << "%");
|
||||
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_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 << "%");
|
||||
}
|
||||
|
||||
void performanceLimiter() {
|
||||
@ -154,14 +154,14 @@ 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 < "
|
||||
<< 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 << "% < "
|
||||
<< (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 << "%");
|
||||
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_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 << "%");
|
||||
}
|
||||
|
||||
void performanceGate() {
|
||||
@ -196,14 +196,14 @@ 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 < "
|
||||
<< 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 << "% < "
|
||||
<< (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 << "%");
|
||||
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_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 << "%");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user