audio/lutin_audio.py

70 lines
1.4 KiB
Python
Raw Normal View History

2015-02-04 21:07:33 +01:00
#!/usr/bin/python
2015-05-08 22:30:55 +02:00
import lutin.module as module
import lutin.tools as tools
2015-02-04 21:07:33 +01:00
2015-10-14 21:21:03 +02:00
def get_type():
return "LIBRARY"
2015-02-04 21:07:33 +01:00
def get_desc():
2015-10-14 21:21:03 +02:00
return "Basic audio types"
def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
2015-02-04 21:07:33 +01:00
2015-10-14 21:21:03 +02:00
def get_version():
return [0,1]
2015-02-04 21:07:33 +01:00
2015-10-14 21:21:03 +02:00
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
2015-02-04 21:07:33 +01:00
'audio/debug.cpp',
'audio/channel.cpp',
'audio/format.cpp',
2015-04-13 21:49:48 +02:00
'audio/Time.cpp',
'audio/Duration.cpp',
'audio/int8_8_t.cpp',
'audio/int8_16_t.cpp',
'audio/int16_16_t.cpp',
'audio/int16_32_t.cpp',
'audio/int24_24_t.cpp',
'audio/int24_32_t.cpp',
'audio/int32_32_t.cpp',
'audio/int32_64_t.cpp',
'audio/int64_64_t.cpp',
'audio/float_t.cpp',
'audio/double_t.cpp'
2015-02-04 21:07:33 +01:00
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
2015-09-14 21:11:04 +02:00
'audio/types.h',
'audio/debug.h',
'audio/debugRemove.h',
'audio/channel.h',
'audio/format.h',
'audio/Time.h',
'audio/Duration.h',
'audio/int8_8_t.h',
'audio/int8_16_t.h',
'audio/int16_16_t.h',
'audio/int16_32_t.h',
'audio/int24_24_t.h',
'audio/int24_32_t.h',
'audio/int32_32_t.h',
'audio/int32_64_t.h',
'audio/int64_64_t.h',
'audio/float_t.h',
'audio/double_t.h'
])
2015-09-24 21:44:04 +02:00
my_module.add_module_depend(['etk'])
my_module.add_path(tools.get_current_path(__file__))
return my_module
2015-02-04 21:07:33 +01:00