diff --git a/.gitignore b/.gitignore index e978887..a120112 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +__pycache__ +.bck +out +target +build ################################### # backup files ################################### diff --git a/GLD_audio-drain-test.json b/GLD_audio-drain-test.json new file mode 100644 index 0000000..fc81cf6 --- /dev/null +++ b/GLD_audio-drain-test.json @@ -0,0 +1,30 @@ +{ + "type":"BINARY", + "sub-type":"TEST", + "group-id":"com.atria-soft", + "description":"single audio flow test", + "license":"MPL-2", + "license-file":"file://LICENSE", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + "code-quality":"MEDIUM", + + "source": [ + "test/main.cpp", + "test/updateFlow.cpp", + "test/resampling.cpp", + "test/format.cpp", + "test/channelOrder.cpp", + "test/equalizer.cpp" + ], + "compilation-version": { + "c++": 2017 + }, + "dependency": [ + "audio-drain", + "etest", + "etk", + "test-debug" + ] +} \ No newline at end of file diff --git a/GLD_audio-drain.json b/GLD_audio-drain.json new file mode 100644 index 0000000..d4ddfe9 --- /dev/null +++ b/GLD_audio-drain.json @@ -0,0 +1,70 @@ +{ + "type":"LIBRARY", + "group-id":"com.atria-soft", + "description":"Basic audio algo interface single pipe to provess data", + "license":"MPL-2", + "license-file":"file://LICENSE", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + "code-quality":"MEDIUM", + + "source": [ + "audio/drain/debug.cpp", + "audio/drain/airtalgo.cpp", + "audio/drain/Algo.cpp", + "audio/drain/ChannelReorder.cpp", + "audio/drain/CircularBuffer.cpp", + "audio/drain/EndPointCallback.cpp", + "audio/drain/EndPoint.cpp", + "audio/drain/EndPointRead.cpp", + "audio/drain/EndPointWrite.cpp", + "audio/drain/FormatUpdate.cpp", + "audio/drain/Process.cpp", + "audio/drain/Resampler.cpp", + "audio/drain/Volume.cpp", + "audio/drain/IOFormatInterface.cpp", + "audio/drain/AutoLogInOut.cpp", + "audio/drain/Equalizer.cpp" + ], + "header": [ + "audio/drain/debug.hpp", + "audio/drain/debugRemove.hpp", + "audio/drain/airtalgo.hpp", + "audio/drain/Algo.hpp", + "audio/drain/ChannelReorder.hpp", + "audio/drain/CircularBuffer.hpp", + "audio/drain/EndPointCallback.hpp", + "audio/drain/EndPoint.hpp", + "audio/drain/EndPointRead.hpp", + "audio/drain/EndPointWrite.hpp", + "audio/drain/FormatUpdate.hpp", + "audio/drain/Process.hpp", + "audio/drain/Resampler.hpp", + "audio/drain/Volume.hpp", + "audio/drain/IOFormatInterface.hpp", + "audio/drain/AutoLogInOut.hpp", + "audio/drain/Equalizer.hpp" + ], + "path":[ + "." + ], + "compilation-version": { + "c++": 2017 + }, + "dependency": [ + "etk", + "audio", + "ejson", + "speex-dsp", + "audio-algo-drain", + { + "name": "speex-dsp", + "optional": true, + "export": true, + "flag": { + "c++": "-DHAVE_SPEEX_DSP_RESAMPLE" + } + } + ] +} \ No newline at end of file diff --git a/lutin_audio-drain-test.py b/lutin_audio-drain-test.py deleted file mode 100644 index b04219d..0000000 --- a/lutin_audio-drain-test.py +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/python -import realog.debug as debug -import lutin.tools as tools - - -def get_type(): - return "BINARY" - -def get_sub_type(): - return "TEST" - -def get_desc(): - return "single audio flow test" - -def get_licence(): - return "MPL-2" - -def get_compagny_type(): - return "com" - -def get_compagny_name(): - return "atria-soft" - -def get_maintainer(): - return "authors.txt" - -def configure(target, my_module): - my_module.add_src_file([ - 'test/main.cpp', - 'test/updateFlow.cpp', - 'test/resampling.cpp', - 'test/format.cpp', - 'test/channelOrder.cpp', - 'test/equalizer.cpp' - ]) - my_module.add_depend([ - 'audio-drain', - 'etest', - 'etk', - 'test-debug' - ]) - return True - - - - - - - - - diff --git a/lutin_audio-drain.py b/lutin_audio-drain.py deleted file mode 100644 index 04314f7..0000000 --- a/lutin_audio-drain.py +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/python -import lutin.tools as tools -import realog.debug as debug - - -def get_type(): - return "LIBRARY" - -def get_desc(): - return "Basic audio algo interface single pipe to provess data" - -def get_licence(): - return "MPL-2" - -def get_compagny_type(): - return "com" - -def get_compagny_name(): - return "atria-soft" - -def get_maintainer(): - return "authors.txt" - -def get_version(): - return "version.txt" - -def configure(target, my_module): - - my_module.add_src_file([ - 'audio/drain/debug.cpp', - 'audio/drain/airtalgo.cpp', - 'audio/drain/Algo.cpp', - 'audio/drain/ChannelReorder.cpp', - 'audio/drain/CircularBuffer.cpp', - 'audio/drain/EndPointCallback.cpp', - 'audio/drain/EndPoint.cpp', - 'audio/drain/EndPointRead.cpp', - 'audio/drain/EndPointWrite.cpp', - 'audio/drain/FormatUpdate.cpp', - 'audio/drain/Process.cpp', - 'audio/drain/Resampler.cpp', - 'audio/drain/Volume.cpp', - 'audio/drain/IOFormatInterface.cpp', - 'audio/drain/AutoLogInOut.cpp', - 'audio/drain/Equalizer.cpp' - ]) - - my_module.add_header_file([ - 'audio/drain/debug.hpp', - 'audio/drain/debugRemove.hpp', - 'audio/drain/airtalgo.hpp', - 'audio/drain/Algo.hpp', - 'audio/drain/ChannelReorder.hpp', - 'audio/drain/CircularBuffer.hpp', - 'audio/drain/EndPointCallback.hpp', - 'audio/drain/EndPoint.hpp', - 'audio/drain/EndPointRead.hpp', - 'audio/drain/EndPointWrite.hpp', - 'audio/drain/FormatUpdate.hpp', - 'audio/drain/Process.hpp', - 'audio/drain/Resampler.hpp', - 'audio/drain/Volume.hpp', - 'audio/drain/IOFormatInterface.hpp', - 'audio/drain/AutoLogInOut.hpp', - 'audio/drain/Equalizer.hpp' - ]) - - # TODO: my_module.add_optional_module_depend('speexdsp', "HAVE_SPEEX_DSP_RESAMPLE") - my_module.add_flag('c++', "-DHAVE_SPEEX_DSP_RESAMPLE") - my_module.add_depend([ - 'etk', - 'audio', - 'ejson', - 'speex-dsp', - 'audio-algo-drain' - ]) - my_module.add_path(".") - return True - - - - - - - - - diff --git a/tools/drainBiQuadProfiling/GLD_drain_biquad_profiling.json b/tools/drainBiQuadProfiling/GLD_drain_biquad_profiling.json new file mode 100644 index 0000000..aa65575 --- /dev/null +++ b/tools/drainBiQuadProfiling/GLD_drain_biquad_profiling.json @@ -0,0 +1,35 @@ +{ + "type": "BINARY", + "sub-type": "TOOL", + "group-id": "com.atria-soft", + "description": "basic test and profiling of equalizer work or not", + "license": "MPL-2", + "license-file": "file://../../../LICENSE", + "maintainer": "file://../../../authors.txt", + "author": "file://../../../authors.txt", + "version": "file://../../../version.txt", + "code-quality": "MEDIUM", + + "source": [ + "appl/main.cpp", + "appl/debug.cpp", + "appl/Windows.cpp", + "appl/widget/DisplayFrequency.cpp" + ], + "dependency": [ + "ewol", + "audio-drain", + "audio-river" + ], + "path": [ + "." + ], + "flag": { + "c++": "-DPROJECT_NAME=\"\\\"{{{project.name}}}\\\"\"" + }, + "copy": [ + { + "path": "data/*" + } + ] +} \ No newline at end of file diff --git a/tools/drainBiQuadProfiling/appl/Windows.cpp b/tools/drainBiQuadProfiling/appl/Windows.cpp index c9b7436..7f90902 100644 --- a/tools/drainBiQuadProfiling/appl/Windows.cpp +++ b/tools/drainBiQuadProfiling/appl/Windows.cpp @@ -14,7 +14,7 @@ #include #include