diff options
author | 2018-04-30 23:30:10 +0200 | |
---|---|---|
committer | 2018-04-30 23:30:10 +0200 | |
commit | 17edfc4c20cfd855d68e5b0ef044da2e7509f3f3 (patch) | |
tree | fe33046462ede30e6faaabbac82e1b75d49f28af /conf.d/project/etc/4a-softmixer-config.json | |
parent | 8372b87f2be8fe5b8655001e92572af4d96ddbf6 (diff) |
On going effort, now load and support LUA+C plugin
Diffstat (limited to 'conf.d/project/etc/4a-softmixer-config.json')
-rw-r--r-- | conf.d/project/etc/4a-softmixer-config.json | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/conf.d/project/etc/4a-softmixer-config.json b/conf.d/project/etc/4a-softmixer-config.json index 9d89f07..db13705 100644 --- a/conf.d/project/etc/4a-softmixer-config.json +++ b/conf.d/project/etc/4a-softmixer-config.json @@ -3,18 +3,27 @@ "metadata": { "uid": "Soft Mixer", "version": "1.0", - "api": "soft-mixer", + "api": "softmixer", "info": "Soft Mixer emulating hardware mixer", - "require": ["alsa-core"] + "require": ["alsacore"] }, "plugins": [ { "uid": "alsa-router", "ldpath": "package/lib/plugins", + "lua2c": ["AlsaDmix", "AlsaRouter"], "info": "Map alsa-loop subdevices to 4A HAL streams" } ], + "onload": [ + { + "uid": "init-soft-mixer", + "info": "Initialise Audio Router", + "lua": "_init_softmixer_" + } + ], + "sndcards": [ { "uid": "Focusrite_Scarlett_18i8", @@ -72,11 +81,17 @@ "controls": [ { "uid": "stream", - "function": "plugin://alsa-router/stream_ctl" + "callback": { + "plugin": "alsa-router", + "function": "stream_ctl" + } }, { "uid": "zone", - "function": "plugin://alsa-router/zone_ctl" + "callback": { + "plugin": "alsa-router", + "function": "zone_ctl" + } } ] } |