diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2018-05-18 17:32:40 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2018-05-18 17:32:40 +0200 |
commit | 2af80583a462fa0f71d0250bca03db5a4cf22fe8 (patch) | |
tree | d0c4086a2a87d8f539bb7525349faa91e72c5746 /conf.d/project/etc/4a--softmixer-test.json | |
parent | a2ea0dd94d803ee8e5eb79c6494f0d4c76cbcc90 (diff) |
Update to last controller fix
Diffstat (limited to 'conf.d/project/etc/4a--softmixer-test.json')
-rw-r--r-- | conf.d/project/etc/4a--softmixer-test.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/conf.d/project/etc/4a--softmixer-test.json b/conf.d/project/etc/4a--softmixer-test.json new file mode 100644 index 0000000..d646e3b --- /dev/null +++ b/conf.d/project/etc/4a--softmixer-test.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", + "metadata": { + "uid": "Soft Mixer", + "version": "1.0", + "api": "softmixer", + "info": "Soft Mixer emulating hardware mixer" + }, + "resources": [ + { + "uid": "softmixer", + "info": "Map alsa-loop subdevices to 4A HAL streams", + "spath": "./plugins/alsa:../conf.d/project/lua.d", + "libs": ["alsa-softmixer.ctlso", "softmixer-simple-test.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", + "action": "plugin://softmixer#mixer_new" + } + ] +} |