aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal-references-boards-cfg/hal-4a-sample1.json
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal-references-boards-cfg/hal-4a-sample1.json')
-rw-r--r--4a-hal-references-boards-cfg/hal-4a-sample1.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/4a-hal-references-boards-cfg/hal-4a-sample1.json b/4a-hal-references-boards-cfg/hal-4a-sample1.json
new file mode 100644
index 0000000..a93a4be
--- /dev/null
+++ b/4a-hal-references-boards-cfg/hal-4a-sample1.json
@@ -0,0 +1,43 @@
+{
+ "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
+ "metadata": {
+ "uid": "SND_CARD",
+ "version": "0.9",
+ "api": "4a-hal-sample1",
+ "info": "Basic Audio Policy Control for Audio-4a - Sample 1",
+ "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": "ping2",
+ "info": "Ping hal",
+ "action": "api://4a-hal-manager#ping"
+ }
+ ],
+ "events": [
+ {
+ "uid": "api/status_changed",
+ "action": "api://4a-hal-manager#ping"
+ }
+ ]
+} \ No newline at end of file