summaryrefslogtreecommitdiffstats
path: root/4a-hal-references-boards-cfg/hal-4a-sample2.json
blob: 0706fd835db0fe80a80811d5f140adef39417872 (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
36
37
38
39
40
41
42
43
{
    "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
    "metadata": {
        "uid": "SND_CARD2",
        "version": "0.9",
        "api": "4a-hal-sample2",
        "info": "Basic Audio Policy Control for Audio-4a - Sample 2",
        "author": "Jonathan Aillet",
        "date": "2018-05-18"
    },
    "onload": [
        {
            "uid": "init-audio-hal",
            "info": "Retrieve Active HAL",
            "action": "api://4a-hal-manager#ping"
        }
    ],
    "controls": [
        {
            "uid": "Master-Volume-Set",
            "info": "Set Master Volume",
            "privileges": "audio",
            "action": "api://4a-hal-manager#ping"
        },
        {
            "uid": "Master-Volume-Ramp",
            "info": "Ramp master Volume",
            "privileges": "audio",
            "action": "api://4a-hal-manager#ping"
        },
        {
            "uid": "ping",
            "info": "Ping hal",
            "action": "api://4a-hal-manager#ping"
        }
    ],
    "events": [
        {
            "uid": "api/status_changed",
            "action": "api://4a-hal-manager#ping"
        }
    ]
}