aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/smixer-4a-test-config.json
blob: 6caf228e249f8f3a47e10778eb9fa3f25a15d9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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": "./lib/plugins:./var",
            "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"
        }
    ]
}