diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2018-06-04 00:33:34 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2018-06-04 00:33:34 +0200 |
commit | bbaf42c6b02ca5d1bdceb7e215807abdbf8cd61d (patch) | |
tree | 48368647ddfa11483d72a9a577cfa0a11f575d93 /conf.d/project/etc/smixer-test-config.json | |
parent | 2af80583a462fa0f71d0250bca03db5a4cf22fe8 (diff) |
Move to Dynamic Mixer API (work in progress)
Diffstat (limited to 'conf.d/project/etc/smixer-test-config.json')
-rw-r--r-- | conf.d/project/etc/smixer-test-config.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/conf.d/project/etc/smixer-test-config.json b/conf.d/project/etc/smixer-test-config.json new file mode 100644 index 0000000..d646e3b --- /dev/null +++ b/conf.d/project/etc/smixer-test-config.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" + } + ] +} |