2015-04-10 23:00:13 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:34:13 +02:00
|
|
|
import lutin.tools as tools
|
2019-05-03 10:18:23 +02:00
|
|
|
import realog.debug as debug
|
2015-04-10 23:00:13 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
2015-04-10 23:00:13 +02:00
|
|
|
def get_desc():
|
2015-06-15 19:23:18 +02:00
|
|
|
return "Basic audio algo interface single pipe to provess data"
|
2015-04-10 23:00:13 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_licence():
|
2017-01-05 21:28:23 +01:00
|
|
|
return "MPL-2"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
2015-04-10 23:00:13 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_maintainer():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "authors.txt"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_version():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "version.txt"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
2015-04-10 23:00:13 +02:00
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'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'
|
|
|
|
])
|
2015-04-10 23:00:13 +02:00
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_header_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'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'
|
|
|
|
])
|
2015-09-14 21:11:04 +02:00
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
# TODO: my_module.add_optional_module_depend('speexdsp', "HAVE_SPEEX_DSP_RESAMPLE")
|
2016-09-07 22:05:42 +02:00
|
|
|
my_module.add_flag('c++', "-DHAVE_SPEEX_DSP_RESAMPLE")
|
2016-09-14 21:18:13 +02:00
|
|
|
my_module.add_depend([
|
|
|
|
'etk',
|
|
|
|
'audio',
|
|
|
|
'ejson',
|
|
|
|
'speex-dsp',
|
|
|
|
'audio-algo-drain'
|
|
|
|
])
|
2016-10-04 23:41:29 +02:00
|
|
|
my_module.add_path(".")
|
|
|
|
return True
|
2015-04-10 23:00:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|