diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-06-12 11:00:25 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-06-12 14:40:08 +0000 |
commit | 22c2633ac833ae78ff84beafce19cec0f05758a2 (patch) | |
tree | dca31bcfc6bf27aaca93e6f9f676361c6f6ed1e1 /conf.d | |
parent | 9a631c30c9c8792865ce2aa0ec06a1bb5fd16751 (diff) |
Update to last softmixer and hal, plus some fixes
Use the last 4a-softmixer and 4a-hal-generic versions.
Fix some potential crash and performance bottleneck.
Now support sessions to disallow multiple opening or closing by not
owner.
Change-Id: I95b020a3fab03b1e1058812adae1d8d5986f282b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/project/policy-4a-sample1.json | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/conf.d/project/policy-4a-sample1.json b/conf.d/project/policy-4a-sample1.json index d71bbe9..8aa7a03 100644 --- a/conf.d/project/policy-4a-sample1.json +++ b/conf.d/project/policy-4a-sample1.json @@ -16,15 +16,13 @@ "hals": ["4a-hal-ctxnop-laptop"], "roles": [ { - "uid": "role-multimedia", - "name": "multimedia", + "uid": "multimedia", "description": "Multimedia content (e.g. tuner, media player, etc.)", "priority": 0, "stream": "multimedia" }, { - "uid": "role-emergency", - "name": "emergency", + "uid": "emergency", "description": "Safety-relevant or critical alerts/alarms", "priority": 100, "stream": "emergency", @@ -33,7 +31,35 @@ ] }, { - "uid": "role-navigation", + "uid": "navigation", + "name": "navigation", + "description": "Navigation instructions (GPS, turn directions, etc...)", + "priority": 25, + "stream": "navigation", + "interrupts":[ + {"type": "ramp", "args": { "uid": "ramp-slow", "volume": 30} } + ] + } + ] + }, + "roles":[ + { + "uid": "multimedia", + "description": "Multimedia content (e.g. tuner, media player, etc.)", + "priority": 0, + "stream": "multimedia" + }, + { + "uid": "emergency", + "description": "Safety-relevant or critical alerts/alarms", + "priority": 100, + "stream": "emergency", + "interrupts":[ + {"type": "ramp", "args": { "uid": "ramp-slow", "volume": 30} } + ] + }, + { + "uid": "navigation", "name": "navigation", "description": "Navigation instructions (GPS, turn directions, etc...)", "priority": 25, @@ -43,5 +69,4 @@ ] } ] - } } |