diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-02 00:19:53 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-02 00:35:16 +0200 |
commit | a3da4ca36cd6bf38f4c2961dda671c910ff944c6 (patch) | |
tree | 18d1a5d6ffab18f61a049cb1a269db0ddb26bc6a /conf.d/project/etc | |
parent | c295296569a6ecd66d237377490475d818f1e4e6 (diff) |
Change name of configuration file
Change name of configuration file, and change the prefix used to search
for this configuration file.
That way, at binder launch, we can use a name like 'afb-4a*'.
Also, remove the automatic launch of the lua file at binding startup.
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r-- | conf.d/project/etc/softmixer-4a-test.json (renamed from conf.d/project/etc/4a-softmixer-test.json) | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/conf.d/project/etc/4a-softmixer-test.json b/conf.d/project/etc/softmixer-4a-test.json index 6caf228..ae94f0c 100644 --- a/conf.d/project/etc/4a-softmixer-test.json +++ b/conf.d/project/etc/softmixer-4a-test.json @@ -10,7 +10,7 @@ { "uid": "softmixer", "info": "Map alsa-loop subdevices to 4A HAL streams", - "spath": "./lib/plugins:./var", + "spath": "./plugins/alsa:../conf.d/project/lua.d", "libs": ["alsa-softmixer.ctlso", "softmixer-simple-test.lua"], "lua": { "prefix": "smix", @@ -18,16 +18,19 @@ } } ], - "onload": [ { "uid": "init-soft-mixer", "info": "Initialise Audio Router", - "action": "lua://softmixer#_mixer_simple_test_" + "action": "lua://softmixer#_AlsaPingCB_" } ], "controls": [ { + "uid": "ping", + "action": "lua://softmixer#_AlsaPingCB_" + }, + { "uid": "create", "action": "plugin://softmixer#mixer_new" } |