summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/smixer-test-config.json
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2018-06-06 11:47:08 +0200
committerfulup <fulup.arfoll@iot.bzh>2018-06-06 11:47:08 +0200
commit4ca3244a440b798b91c252bf22e5299df98218e7 (patch)
tree9c0d386543face266dd08f7d3463f86ed179c0bf /conf.d/project/etc/smixer-test-config.json
parent7aaf36d8e729400f7efc75d7e03e162e1f262293 (diff)
Move smixer API create+attach into controller onload section
Diffstat (limited to 'conf.d/project/etc/smixer-test-config.json')
-rw-r--r--conf.d/project/etc/smixer-test-config.json20
1 files changed, 8 insertions, 12 deletions
diff --git a/conf.d/project/etc/smixer-test-config.json b/conf.d/project/etc/smixer-test-config.json
index 3ed9f29..71eded8 100644
--- a/conf.d/project/etc/smixer-test-config.json
+++ b/conf.d/project/etc/smixer-test-config.json
@@ -12,24 +12,20 @@
"info": "Map alsa-loop subdevices to 4A HAL streams",
"spath": "./package/lib/plugins:./package/var:./lib/plugins:./var",
"libs": ["alsa-softmixer.ctlso", "smixer-test-simple.lua"],
- "lua": {
- "prefix": "smix",
- "functions": ["_mixer_new_"]
- }
}
],
"onload": [
{
- "uid": "init-soft-mixer",
- "info": "Initialise Audio Router",
- "action": "lua://softmixer#_mixer_simple_test_"
- }
- ],
- "controls": [
+ "uid": "create-soft-mixer",
+ "info": "Create Audio Router",
+ "action": "plugin://softmixer#CreateMixer",
+ "args": {"uid":"Simple_Test_Mixer"}
+ },
{
- "uid": "create",
- "action": "plugin://softmixer#mixer_new"
+ "uid": "attach-soft-mixer",
+ "info": "Attach Stream to Audio Router",
+ "action": "lua://softmixer#_mixer_simple_test_"
}
]
}