audio-algo-speex/lutin_audio-algo-speex.py

36 lines
605 B
Python
Raw Normal View History

#!/usr/bin/python
2015-05-08 22:33:49 +02:00
import lutin.module as module
import lutin.tools as tools
def get_desc():
2015-06-15 19:17:19 +02:00
return "speex algos wrapper"
def create(target):
2015-06-16 21:08:23 +02:00
myModule = module.Module(__file__, 'audio-algo-speex', 'LIBRARY')
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'
])
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-09-14 21:11:04 +02:00
myModule.add_path(tools.get_current_path(__file__))
# return module
return myModule