aboutsummaryrefslogtreecommitdiffstats
path: root/mixer-binding
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2018-04-30 23:30:10 +0200
committerFulup Ar Foll <fulup@iot.bzh>2018-04-30 23:30:10 +0200
commit17edfc4c20cfd855d68e5b0ef044da2e7509f3f3 (patch)
treefe33046462ede30e6faaabbac82e1b75d49f28af /mixer-binding
parent8372b87f2be8fe5b8655001e92572af4d96ddbf6 (diff)
On going effort, now load and support LUA+C plugin
Diffstat (limited to 'mixer-binding')
-rw-r--r--mixer-binding/CMakeLists.txt4
-rw-r--r--mixer-binding/mixer-binding.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/mixer-binding/CMakeLists.txt b/mixer-binding/CMakeLists.txt
index bc4ebe6..680c2c4 100644
--- a/mixer-binding/CMakeLists.txt
+++ b/mixer-binding/CMakeLists.txt
@@ -18,7 +18,7 @@
# Add target to project dependency list
-PROJECT_TARGET_ADD(mixer-binding)
+PROJECT_TARGET_ADD(softmixer-binding)
# Define project Targets
ADD_LIBRARY(${TARGET_NAME} MODULE mixer-binding.c)
@@ -47,4 +47,4 @@ PROJECT_TARGET_ADD(mixer-binding)
)
# make sure config is copied before starting
- add_dependencies(${TARGET_NAME} soft-mixer-config) \ No newline at end of file
+ add_dependencies(${TARGET_NAME} softmixer-config softmixer-lua softmixer-html5) \ No newline at end of file
diff --git a/mixer-binding/mixer-binding.c b/mixer-binding/mixer-binding.c
index 8fb4b50..15d13cd 100644
--- a/mixer-binding/mixer-binding.c
+++ b/mixer-binding/mixer-binding.c
@@ -29,6 +29,7 @@ PUBLIC afb_dynapi *AFB_default;
// Config Section definition (note: controls section index should match handle retrieval in HalConfigExec)
static CtlSectionT ctrlSections[]= {
{.key="plugins" , .loadCB= PluginConfig},
+ {.key="onload" , .loadCB= OnloadConfig},
{.key="controls", .loadCB= ControlConfig},
{.key=NULL}