[DEV] clean
This commit is contained in:
parent
1d1b5e9393
commit
e83c228ca1
@ -101,13 +101,15 @@ namespace audio {
|
|||||||
virtual void initRuntime();
|
virtual void initRuntime();
|
||||||
void process(audio::format _format, void* _output, const void* _input, size_t _nbChunk, int8_t _nbChannel);
|
void process(audio::format _format, void* _output, const void* _input, size_t _nbChunk, int8_t _nbChannel);
|
||||||
protected:
|
protected:
|
||||||
process(double* _out, const double* _in, int8_t _nbChannel);
|
/*
|
||||||
process(float* _out, const float* _in, int8_t _nbChannel);
|
void process(double* _out, const double* _in, int8_t _nbChannel);
|
||||||
process(int16_16_t* _out, const int16_16_t* _in, int8_t _nbChannel);
|
void process(float* _out, const float* _in, int8_t _nbChannel);
|
||||||
process(int16_32_t* _out, const int16_32_t* _in, int8_t _nbChannel);
|
void process(int16_16_t* _out, const int16_16_t* _in, int8_t _nbChannel);
|
||||||
process(int24_32_t* _out, const int24_32_t* _in, int8_t _nbChannel);
|
void process(int16_32_t* _out, const int16_32_t* _in, int8_t _nbChannel);
|
||||||
process(int32_32_t* _out, const int32_32_t* _in, int8_t _nbChannel);
|
void process(int24_32_t* _out, const int24_32_t* _in, int8_t _nbChannel);
|
||||||
process(int32_64_t* _out, const int32_64_t* _in, int8_t _nbChannel);
|
void process(int32_32_t* _out, const int32_32_t* _in, int8_t _nbChannel);
|
||||||
|
void process(int32_64_t* _out, const int32_64_t* _in, int8_t _nbChannel);
|
||||||
|
*/
|
||||||
// limiter runtime process
|
// limiter runtime process
|
||||||
void process(double& _in1, double& _in2);
|
void process(double& _in1, double& _in2);
|
||||||
void processMono(double& _in);
|
void processMono(double& _in);
|
||||||
|
@ -38,6 +38,7 @@ namespace audio {
|
|||||||
|
|
||||||
#define AA_CHUNK_BASE(info,data) TK_LOG_BASE(audio::algo::chunkware::getLogId(),info,data)
|
#define AA_CHUNK_BASE(info,data) TK_LOG_BASE(audio::algo::chunkware::getLogId(),info,data)
|
||||||
|
|
||||||
|
#define AA_CHUNK_PRINT(data) AA_CHUNK_BASE(-1, data)
|
||||||
#define AA_CHUNK_CRITICAL(data) AA_CHUNK_BASE(1, data)
|
#define AA_CHUNK_CRITICAL(data) AA_CHUNK_BASE(1, data)
|
||||||
#define AA_CHUNK_ERROR(data) AA_CHUNK_BASE(2, data)
|
#define AA_CHUNK_ERROR(data) AA_CHUNK_BASE(2, data)
|
||||||
#define AA_CHUNK_WARNING(data) AA_CHUNK_BASE(3, data)
|
#define AA_CHUNK_WARNING(data) AA_CHUNK_BASE(3, data)
|
||||||
|
@ -15,6 +15,7 @@ namespace appl {
|
|||||||
|
|
||||||
#define APPL_BASE(info,data) TK_LOG_BASE(appl::getLogId(),info,data)
|
#define APPL_BASE(info,data) TK_LOG_BASE(appl::getLogId(),info,data)
|
||||||
|
|
||||||
|
#define APPL_PRINT(data) APPL_BASE(-1, data)
|
||||||
#define APPL_CRITICAL(data) APPL_BASE(1, data)
|
#define APPL_CRITICAL(data) APPL_BASE(1, data)
|
||||||
#define APPL_ERROR(data) APPL_BASE(2, data)
|
#define APPL_ERROR(data) APPL_BASE(2, data)
|
||||||
#define APPL_WARNING(data) APPL_BASE(3, data)
|
#define APPL_WARNING(data) APPL_BASE(3, data)
|
||||||
|
@ -54,11 +54,11 @@ int main(int _argc, const char** _argv) {
|
|||||||
sampleRate = etk::string_to_int32_t(data);
|
sampleRate = etk::string_to_int32_t(data);
|
||||||
} else if ( data == "-h"
|
} else if ( data == "-h"
|
||||||
|| data == "--help") {
|
|| data == "--help") {
|
||||||
APPL_INFO("Help : ");
|
APPL_PRINT("Help : ");
|
||||||
APPL_INFO(" ./xxx --fb=file.raw --mic=file.raw");
|
APPL_PRINT(" ./xxx --fb=file.raw --mic=file.raw");
|
||||||
APPL_INFO(" --in=YYY.raw inout file");
|
APPL_PRINT(" --in=YYY.raw inout file");
|
||||||
APPL_INFO(" --perf Enable performence test (little slower but real performence test)");
|
APPL_PRINT(" --perf Enable performence test (little slower but real performence test)");
|
||||||
APPL_INFO(" --sample-rate=XXXX Signal sample rate (default 48000)");
|
APPL_PRINT(" --sample-rate=XXXX Signal sample rate (default 48000)");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user