diff --git a/lutin_audio-drain-test.py b/lutin_audio-drain-test.py index 9c029f7..0844d41 100644 --- a/lutin_audio-drain-test.py +++ b/lutin_audio-drain-test.py @@ -3,25 +3,39 @@ import lutin.module as module import lutin.tools as tools import lutin.debug as debug + +def get_type(): + return "BINARY" + +def get_sub_type(): + return "TEST" + def get_desc(): return "single audio flow test" +def get_licence(): + return "APACHE-2" -def create(target): - my_module = module.Module(__file__, 'audio-drain-test', 'BINARY') - +def get_compagny_type(): + return "com" + +def get_compagny_name(): + return "atria-soft" + +def get_maintainer(): + return ["Mr DUPIN Edouard "] + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) my_module.add_src_file([ 'test/main.cpp', - 'test/debug.cpp', 'test/updateFlow.cpp', 'test/resampling.cpp', 'test/format.cpp', 'test/channelOrder.cpp', 'test/equalizer.cpp' ]) - - my_module.add_module_depend(['audio-drain', 'gtest', 'etk']) - + my_module.add_module_depend(['audio-drain', 'gtest', 'etk', 'test-debug']) return my_module diff --git a/lutin_audio-drain.py b/lutin_audio-drain.py index cf42d56..e115d22 100644 --- a/lutin_audio-drain.py +++ b/lutin_audio-drain.py @@ -3,12 +3,30 @@ import lutin.module as module import lutin.tools as tools import lutin.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 "APACHE-2" -def create(target): - my_module = module.Module(__file__, 'audio-drain', 'LIBRARY') +def get_compagny_type(): + return "com" + +def get_compagny_name(): + return "atria-soft" + +def get_maintainer(): + return ["Mr DUPIN Edouard "] + +def get_version(): + return [0,0,0] + +def create(target, module_name): + my_module = module.Module(__file__, module_name, get_type()) my_module.add_src_file([ 'audio/drain/debug.cpp', @@ -53,8 +71,6 @@ def create(target): my_module.compile_flags('c++', "-DHAVE_SPEEX_DSP_RESAMPLE") my_module.add_module_depend(['etk', 'audio', 'ejson', 'speex-dsp', 'audio-algo-drain']) my_module.add_path(tools.get_current_path(__file__)) - - # add the currrent module at the return my_module diff --git a/test/channelOrder.cpp b/test/channelOrder.cpp index 2b70afb..0cb5273 100644 --- a/test/channelOrder.cpp +++ b/test/channelOrder.cpp @@ -4,7 +4,7 @@ * @license APACHE v2.0 (see license file) */ -#include +#include #include #include