audio-river/lutin_audio-river.py

41 lines
971 B
Python
Raw Normal View History

2015-04-11 09:38:30 +02:00
#!/usr/bin/python
2015-05-08 22:36:02 +02:00
import lutin.module as module
import lutin.tools as tools
2015-04-11 09:38:30 +02:00
def get_desc():
2015-06-15 19:36:08 +02:00
return "Multi-nodal audio interface"
2015-04-11 09:38:30 +02:00
def create(target):
2015-06-15 19:36:08 +02:00
myModule = module.Module(__file__, 'audio-river', 'LIBRARY')
2015-04-11 09:38:30 +02:00
myModule.add_src_file([
'audio/river/debug.cpp',
'audio/river/river.cpp',
'audio/river/Manager.cpp',
'audio/river/Interface.cpp',
'audio/river/io/Group.cpp',
'audio/river/io/Node.cpp',
'audio/river/io/NodeOrchestra.cpp',
'audio/river/io/NodePortAudio.cpp',
'audio/river/io/NodeAEC.cpp',
'audio/river/io/NodeMuxer.cpp',
'audio/river/io/Manager.cpp'
])
2015-06-15 19:36:08 +02:00
myModule.add_optionnal_module_depend('audio-orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
2015-05-08 22:36:02 +02:00
myModule.add_optionnal_module_depend('portaudio', ["c++", "-DAUDIO_RIVER_BUILD_PORTAUDIO"])
2015-06-15 19:36:08 +02:00
myModule.add_module_depend(['audio', 'audio-drain', 'ejson'])
2015-04-11 09:38:30 +02:00
myModule.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule