[DEV] integrate GLD

This commit is contained in:
Edouard DUPIN 2021-12-15 22:46:23 +01:00
parent 71e6089a40
commit f5be7b35a8
14 changed files with 205 additions and 286 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
__pycache__
.bck
out
target
build
###################################
# backup files
###################################

34
GLD_audio-river-test.json Normal file
View File

@ -0,0 +1,34 @@
{
"type":"BINARY",
"sub-type":"TEST",
"group-id":"com.atria-soft",
"description":"Multi-nodal audio interface test",
"license":"MPL-2",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",
"code-quality":"MEDIUM",
"source": [
"test/main.cpp",
"test/testAEC.cpp",
"test/testEchoDelay.cpp",
"test/testFormat.cpp",
"test/testMuxer.cpp",
"test/testPlaybackCallback.cpp",
"test/testPlaybackWrite.cpp",
"test/testRecordCallback.cpp",
"test/testRecordRead.cpp",
"test/testVolume.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"audio-river",
"etest",
"etk",
"test-debug"
]
}

58
GLD_audio-river.json Normal file
View File

@ -0,0 +1,58 @@
{
"type":"LIBRARY",
"group-id":"com.atria-soft",
"description":"Multi-nodal audio interface",
"license":"MPL-2",
"license-file":"file://LICENSE",
"maintainer":"file://authors.txt",
"author":"file://authors.txt",
"version":"file://version.txt",
"code-quality":"MEDIUM",
"source": [
"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"
],
"header": [
"audio/river/river.hpp",
"audio/river/Manager.hpp",
"audio/river/Interface.hpp",
"audio/river/io/Group.hpp",
"audio/river/io/Node.hpp",
"audio/river/io/Manager.hpp"
],
"path":[
"."
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"audio",
"audio-drain",
"ejson",{
"name": "audio-orchestra",
"optional": true,
"export": true,
"flag": {
"c++": "-DAUDIO_RIVER_BUILD_ORCHESTRA"
}
},{
"name": "portaudio",
"optional": true,
"export": true,
"flag": {
"c++": "-DAUDIO_RIVER_BUILD_PORTAUDIO"
}
}
]
}

View File

@ -1,48 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "TEST"
def get_desc():
return "Multi-nodal audio interface test"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return "authors.txt"
def configure(target, my_module):
my_module.add_src_file([
'test/main.cpp',
'test/testAEC.cpp',
'test/testEchoDelay.cpp',
'test/testFormat.cpp',
'test/testMuxer.cpp',
'test/testPlaybackCallback.cpp',
'test/testPlaybackWrite.cpp',
'test/testRecordCallback.cpp',
'test/testRecordRead.cpp',
'test/testVolume.cpp',
])
my_module.add_depend([
'audio-river',
'etest',
'etk',
'test-debug'
])
return True

View File

@ -1,66 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "LIBRARY"
def get_desc():
return "Multi-nodal audio interface"
def get_licence():
return "MPL-2"
def get_compagny_type():
return "com"
def get_compagny_name():
return "atria-soft"
def get_maintainer():
return "authors.txt"
def get_version():
return "version.txt"
def configure(target, my_module):
my_module.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'
])
my_module.add_header_file([
'audio/river/river.hpp',
'audio/river/Manager.hpp',
'audio/river/Interface.hpp',
'audio/river/io/Group.hpp',
'audio/river/io/Node.hpp',
'audio/river/io/Manager.hpp'
])
my_module.add_optionnal_depend('audio-orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
my_module.add_optionnal_depend('portaudio', ["c++", "-DAUDIO_RIVER_BUILD_PORTAUDIO"])
my_module.add_depend([
'audio',
'audio-drain',
'ejson'
])
my_module.add_path(".")
return True

View File

@ -0,0 +1,31 @@
{
"type":"BINARY",
"sub-type":"TEST",
"group-id":"com.atria-soft",
"description":"Simpleaudio IO viewer and test ...",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"appl/debug.cpp",
"appl/main.cpp",
"appl/Windows.cpp"
],
"compilation-version": {
"c++": 2017
},
"path": [
"."
],
"dependency": [
"ewol",
"audio-river",
"audio-river-widget"
],
"comment": "# set the package properties \n my_module.set_pkg(SECTION, [Development]) \n my_module.set_pkg(PRIORITY, optional) \n my_module.add_pkg(RIGHT, RECORD_AUDIO)"
}

View File

@ -1,39 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "BINARY"
def get_desc():
return "Simpleaudio IO viewer and test ..."
def get_licence():
return "MPL-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>"]
def configure(target, my_module):
my_module.add_extra_flags()
my_module.add_src_file([
'appl/debug.cpp',
'appl/main.cpp',
'appl/Windows.cpp'])
my_module.add_depend(['ewol', 'audio-river', 'audio-river-widget'])
my_module.add_path(".")
# set the package properties :
my_module.set_pkg("SECTION", ["Development"])
my_module.set_pkg("PRIORITY", "optional")
my_module.add_pkg("RIGHT", "RECORD_AUDIO")
return True

View File

@ -0,0 +1,24 @@
{
"type":"BINARY",
"sub-type":"TEST",
"group-id":"com.atria-soft",
"description":"Read some data",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"read.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"audio-river",
"test-debug",
"etk"
]
}

View File

@ -1,45 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Read some data"
def get_licence():
return "MPL-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>"]
def configure(target, my_module):
my_module.add_src_file([
'read.cpp',
])
my_module.add_depend([
'audio-river',
'test-debug',
'etk'
])
return True

View File

@ -0,0 +1,24 @@
{
"type":"BINARY",
"sub-type":"TEST",
"group-id":"com.atria-soft",
"description":"Write some data",
"license":"MPL-2",
"license-file":"file://../../LICENSE",
"maintainer":"file://../../authors.txt",
"author":"file://../../authors.txt",
"version":"file://../../version.txt",
"code-quality":"MEDIUM",
"source": [
"write.cpp"
],
"compilation-version": {
"c++": 2017
},
"dependency": [
"audio-river",
"test-debug",
"etk"
]
}

View File

@ -1,45 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
def get_type():
return "BINARY"
def get_sub_type():
return "SAMPLE"
def get_desc():
return "Write some data"
def get_licence():
return "MPL-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>"]
def configure(target, my_module):
my_module.add_src_file([
'write.cpp',
])
my_module.add_depend([
'audio-river',
'test-debug',
'etk'
])
return True

View File

@ -0,0 +1,29 @@
{
"type":"LIBRARY",
"group-id":"com.atria-soft",
"description":"audio specific widget",
"license":"MPL-2",
"license-file":"file://../LICENSE",
"maintainer":"file://../authors.txt",
"author":"file://../authors.txt",
"version":"file://../version.txt",
"code-quality":"MEDIUM",
"source": [
"audio/river/widget/TemporalViewer.cpp",
"audio/river/widget/debug.cpp"
],
"header": [
"audio/river/widget/TemporalViewer.hpp"
],
"compilation-version": {
"c++": 2017
},
"path":[
"."
],
"dependency": [
"ewol",
"audio-river"
]
}

View File

@ -1,43 +0,0 @@
#!/usr/bin/python
import realog.debug as debug
import lutin.tools as tools
import os
def get_type():
return "LIBRARY"
def get_desc():
return "audio specific widget"
def get_licence():
return "MPL-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>"]
def get_version():
return [0,0,0]
def configure(target, my_module):
my_module.add_src_file([
'audio/river/widget/TemporalViewer.cpp',
'audio/river/widget/debug.cpp'
])
my_module.add_header_file([
'audio/river/widget/TemporalViewer.hpp'
])
my_module.add_depend([
'ewol',
'audio-river'
])
my_module.add_path(".")
return True