2015-04-20 22:10:56 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:33:49 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2015-04-20 22:10:56 +02:00
|
|
|
|
|
|
|
def get_desc():
|
2015-06-15 19:17:19 +02:00
|
|
|
return "speex algos wrapper"
|
2015-04-20 22:10:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
def create(target):
|
2015-06-16 21:08:23 +02:00
|
|
|
myModule = module.Module(__file__, 'audio-algo-speex', 'LIBRARY')
|
2015-04-20 22:10:56 +02:00
|
|
|
myModule.add_src_file([
|
|
|
|
'audio/algo/speex/debug.cpp',
|
|
|
|
'audio/algo/speex/Resampler.cpp'
|
|
|
|
])
|
2015-09-14 21:11:04 +02:00
|
|
|
|
|
|
|
myModule.add_header_file([
|
|
|
|
'audio/algo/speex/Resampler.h'
|
|
|
|
])
|
|
|
|
|
2015-04-20 22:10:56 +02:00
|
|
|
myModule.add_module_depend(['etk', 'audio'])
|
|
|
|
|
2015-06-15 19:17:19 +02:00
|
|
|
myModule.add_optionnal_module_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
|
2015-04-20 22:10:56 +02:00
|
|
|
|
2015-09-14 21:11:04 +02:00
|
|
|
myModule.add_path(tools.get_current_path(__file__))
|
2015-04-20 22:10:56 +02:00
|
|
|
# return module
|
|
|
|
return myModule
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|