summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/smixer-test-config.json
blob: 71eded878e3e0a2f1a0eb3c0d1a2c4b9721ae470 (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
{
    "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
    "metadata": {
        "uid": "Soft Mixer",
        "version": "1.0",
        "api": "smixer",
        "info": "Soft Mixer emulating hardware mixer"
    },
    "resources": [
        {
            "uid": "softmixer",
            "info": "Map alsa-loop subdevices to 4A HAL streams",
            "spath": "./package/lib/plugins:./package/var:./lib/plugins:./var",
            "libs": ["alsa-softmixer.ctlso", "smixer-test-simple.lua"],
        }
    ],

    "onload": [
        {
            "uid": "create-soft-mixer",
            "info": "Create Audio Router",
            "action": "plugin://softmixer#CreateMixer",
            "args": {"uid":"Simple_Test_Mixer"}
        },
        {
            "uid": "attach-soft-mixer",
            "info": "Attach Stream to Audio Router",
            "action": "lua://softmixer#_mixer_simple_test_"
        }
    ]
}