audio-drain/lutin_audio-drain.py

84 lines
1.9 KiB
Python
Raw Normal View History

2015-04-10 23:00:13 +02:00
#!/usr/bin/python
2015-05-08 22:34:13 +02:00
import lutin.module as module
import lutin.tools as tools
import lutin.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():
return "APACHE-2"
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
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2015-04-10 23:00:13 +02:00
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
2015-04-10 23:00:13 +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-09-24 21:44:04 +02:00
my_module.add_header_file([
2015-09-14 21:11:04 +02:00
'audio/drain/debug.h',
'audio/drain/debugRemove.h',
'audio/drain/airtalgo.h',
'audio/drain/Algo.h',
'audio/drain/ChannelReorder.h',
'audio/drain/CircularBuffer.h',
'audio/drain/EndPointCallback.h',
'audio/drain/EndPoint.h',
'audio/drain/EndPointRead.h',
'audio/drain/EndPointWrite.h',
'audio/drain/FormatUpdate.h',
'audio/drain/Process.h',
'audio/drain/Resampler.h',
'audio/drain/Volume.h',
'audio/drain/IOFormatInterface.h',
'audio/drain/AutoLogInOut.h',
'audio/drain/Equalizer.h'
])
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")
my_module.add_depend(['etk', 'audio', 'ejson', 'speex-dsp', 'audio-algo-drain'])
2015-09-24 21:44:04 +02:00
my_module.add_path(tools.get_current_path(__file__))
return my_module
2015-04-10 23:00:13 +02:00