diff options
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" + } } ] } |