audio-river/lutin_river.py

40 lines
847 B
Python
Raw Normal View History

2015-01-25 22:17:06 +01:00
#!/usr/bin/python
import lutinModule as module
import lutinTools as tools
import lutinDebug as debug
def get_desc():
2015-02-05 19:10:53 +01:00
return "river : Multi-nodal audio interface"
2015-01-25 22:17:06 +01:00
def create(target):
2015-02-05 19:10:53 +01:00
myModule = module.Module(__file__, 'river', 'LIBRARY')
2015-01-25 22:17:06 +01:00
myModule.add_src_file([
2015-02-05 19:10:53 +01:00
'river/debug.cpp',
'river/Manager.cpp',
'river/Interface.cpp',
2015-02-17 21:08:15 +01:00
'river/CircularBuffer.cpp',
2015-02-05 19:10:53 +01:00
'river/io/Node.cpp',
'river/io/NodeAirTAudio.cpp',
2015-02-19 22:00:21 +01:00
'river/io/NodePortAudio.cpp',
'river/io/NodeAEC.cpp',
2015-02-05 19:10:53 +01:00
'river/io/Manager.cpp'
2015-01-25 22:17:06 +01:00
])
myModule.add_optionnal_module_depend('airtaudio', "__AIRTAUDIO_INFERFACE__")
myModule.add_optionnal_module_depend('portaudio', "__PORTAUDIO_INFERFACE__")
2015-02-19 22:00:21 +01:00
myModule.add_module_depend(['audio', 'drain', 'ejson'])
2015-01-25 22:17:06 +01:00
myModule.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule