diff options
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/project/etc/policy-4a-sample1.json | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/conf.d/project/etc/policy-4a-sample1.json b/conf.d/project/etc/policy-4a-sample1.json index 673caa7..2cc44a6 100644 --- a/conf.d/project/etc/policy-4a-sample1.json +++ b/conf.d/project/etc/policy-4a-sample1.json @@ -14,22 +14,36 @@ "events": [], "roles":[ { + "uid": "master-control", + "description": "Master volume using control", + "priority": 0, + "resource": "agl-master-playback-volume", + "type": "control" + }, + { + "uid": "master-playback", + "description": "Master volume using playback", + "priority": 0, + "resource": "playback", + "type": "playback" + }, + { "uid": "radio", "description": "Radio (tuner)", "priority": 0, - "stream": "radio_stream" + "resource": "radio_stream" }, { "uid": "multimedia", "description": "Multimedia content (e.g. media player, etc.)", "priority": 0, - "stream": "multimedia" + "resource": "multimedia" }, { "uid": "emergency", "description": "Safety-relevant or critical alerts/alarms", "priority": 100, - "stream": "emergency", + "resource": "emergency", "interrupts":[ {"type": "ramp", "args": { "uid": "ramp-slow", "volume": 30} } ] @@ -39,7 +53,7 @@ "name": "navigation", "description": "Navigation instructions (GPS, turn directions, etc...)", "priority": 25, - "stream": "navigation", + "resource": "navigation", "interrupts":[ {"type": "ramp", "args": { "uid": "ramp-slow", "volume": 30} } ] |