[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/Compressor.h>
|
||||||
#include <audio/algo/chunkware/debug.h>
|
#include <audio/algo/chunkware/debug.h>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
audio::algo::chunkware::Compressor::Compressor() :
|
audio::algo::chunkware::Compressor::Compressor() :
|
||||||
AttRelEnvelope(10.0, 100.0),
|
AttRelEnvelope(10.0, 100.0),
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <audio/algo/chunkware/Gate.h>
|
#include <audio/algo/chunkware/Gate.h>
|
||||||
#include <audio/algo/chunkware/debug.h>
|
#include <audio/algo/chunkware/debug.h>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
audio::algo::chunkware::Gate::Gate() :
|
audio::algo::chunkware::Gate::Gate() :
|
||||||
AttRelEnvelope(1.0, 100.0),
|
AttRelEnvelope(1.0, 100.0),
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <audio/algo/chunkware/Limiter.h>
|
#include <audio/algo/chunkware/Limiter.h>
|
||||||
#include <audio/algo/chunkware/debug.h>
|
#include <audio/algo/chunkware/debug.h>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
audio::algo::chunkware::Limiter::Limiter() :
|
audio::algo::chunkware::Limiter::Limiter() :
|
||||||
m_isConfigured(false),
|
m_isConfigured(false),
|
||||||
|
@ -112,12 +112,12 @@ void performanceCompressor() {
|
|||||||
perfo.toc();
|
perfo.toc();
|
||||||
usleep(1000);
|
usleep(1000);
|
||||||
}
|
}
|
||||||
APPL_INFO("Performance Compressor (double): ");
|
APPL_PRINT("Performance Compressor (double): ");
|
||||||
APPL_INFO(" blockSize=" << input.size() << " sample");
|
APPL_PRINT(" blockSize=" << input.size() << " sample");
|
||||||
APPL_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
APPL_PRINT(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
||||||
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
|
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
|
||||||
<< perfo.getMaxProcessing().count() << "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.getTotalTimeProcessing().count()/perfo.getTotalIteration())*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
|
||||||
<< (float((perfo.getMaxProcessing().count()*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();
|
perfo.toc();
|
||||||
usleep(1000);
|
usleep(1000);
|
||||||
}
|
}
|
||||||
APPL_INFO("Performance Limiter (double): ");
|
APPL_PRINT("Performance Limiter (double): ");
|
||||||
APPL_INFO(" blockSize=" << input.size() << " sample");
|
APPL_PRINT(" blockSize=" << input.size() << " sample");
|
||||||
APPL_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
APPL_PRINT(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
||||||
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
|
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
|
||||||
<< perfo.getMaxProcessing().count() << "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.getTotalTimeProcessing().count()/perfo.getTotalIteration())*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
|
||||||
<< (float((perfo.getMaxProcessing().count()*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();
|
perfo.toc();
|
||||||
usleep(1000);
|
usleep(1000);
|
||||||
}
|
}
|
||||||
APPL_INFO("Performance Gate (double): ");
|
APPL_PRINT("Performance Gate (double): ");
|
||||||
APPL_INFO(" blockSize=" << input.size() << " sample");
|
APPL_PRINT(" blockSize=" << input.size() << " sample");
|
||||||
APPL_INFO(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
APPL_PRINT(" min < avg < max =" << perfo.getMinProcessing().count() << "ns < "
|
||||||
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
|
<< perfo.getTotalTimeProcessing().count()/perfo.getTotalIteration() << "ns < "
|
||||||
<< perfo.getMaxProcessing().count() << "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.getTotalTimeProcessing().count()/perfo.getTotalIteration())*sampleRate)/double(input.size()))/1000000000.0)*100.0 << "% < "
|
||||||
<< (float((perfo.getMaxProcessing().count()*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