summaryrefslogtreecommitdiffstats
path: root/conf.d/project/ahl-aaaa-config.json
diff options
context:
space:
mode:
authorTai Vuong <tvuong@audiokinetic.com>2017-11-03 18:55:54 -0400
committerTai Vuong <tvuong@audiokinetic.com>2017-11-03 18:55:54 -0400
commit68f1187061c28ecf6439b4dd465f4d256529dc55 (patch)
tree5c86b5c00cda5d183a7dce47622a294a1b9179cb /conf.d/project/ahl-aaaa-config.json
parentb929cdf5d0b27915e84e174c81ffd7e2b2f1beda (diff)
various bug fix, add alsa configuration file to match with Hal control
Diffstat (limited to 'conf.d/project/ahl-aaaa-config.json')
-rw-r--r--conf.d/project/ahl-aaaa-config.json120
1 files changed, 120 insertions, 0 deletions
diff --git a/conf.d/project/ahl-aaaa-config.json b/conf.d/project/ahl-aaaa-config.json
new file mode 100644
index 0000000..5f24b00
--- /dev/null
+++ b/conf.d/project/ahl-aaaa-config.json
@@ -0,0 +1,120 @@
+{
+ "version": "0.2.0",
+ "policy_module": "AudioPolicy_v1",
+ "description": "High-level binding configuration file",
+ "note": "Devices and routings are always listed in order of priority (for device selection rules)",
+ "hal_list": ["ensoniq","usbaudio"],
+ "audio_roles": [
+ {
+ "name": "Warning",
+ "description": "Safety-relevant or critical alerts/alarms",
+ "priority": 100,
+ "output": [
+ "alsa.plug:Warning_Main",
+ "alsa.plug:Warning_DriverHR"
+ ],
+ "actions": [
+ "emergency_brake",
+ "collision_warning",
+ "blind_spot_warning"
+ ],
+ "interupt_behavior": "pause"
+ },
+ {
+ "name": "Guidance",
+ "description": "Important user information where user action is expected (e.g. navigation instruction)",
+ "priority": 25,
+ "output": [
+ "alsa.plug:Guidance_Main",
+ "alsa.plug:Guidance_DriverHR"
+ ],
+ "actions": [
+ "lane_guidance_left",
+ "lane_guidance_right",
+ "destination_reached"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Notification",
+ "description": "HMI or else notifications (e.g. touchscreen events, speech recognition on/off,...)",
+ "priority": 0,
+ "output": [
+ "alsa.plug:Notification_Main",
+ "alsa.plug:Notification_DriverHR"
+ ],
+ "actions": [
+ "home",
+ "context_switch",
+ "accept",
+ "cancel",
+ "selection_change"
+ ],
+ "interupt_behavior": "cancel"
+ },
+ {
+ "name": "Communication",
+ "description": "Voice communications (e.g. handsfree, speech recognition)",
+ "priority": 50,
+ "output": [
+ "alsa.plug:Communications_Main",
+ "alsa.plug:Communications_DriverHR"
+ ],
+ "input": [
+ "alsa.hw:0"
+ ],
+ "actions": [
+ "bt_device_connected",
+ "bt_device_disconnected",
+ "sms_received"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Entertainment",
+ "description": "Multimedia content (e.g. tuner, media player, etc.)",
+ "priority": 0,
+ "output": [
+ "alsa.plug:Entertainment_Main",
+ "alsa.plug:Entertainment_DriverHR"
+ ],
+ "interupt_behavior": "pause"
+ },
+ {
+ "name": "System",
+ "description": "System level content or development",
+ "priority": 100,
+ "output": [
+ "alsa.hw:0"
+ ],
+ "input": [
+ "alsa.hw:0"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Startup",
+ "description": "Early (startup) sound",
+ "priority": 100,
+ "output": [
+ "alsa.hw:0"
+ ],
+ "actions": [
+ "welcome_sound"
+ ],
+ "interupt_behavior": "pause"
+ },
+ {
+ "name": "Shutdown",
+ "description": "Late (shutdown) sound",
+ "priority": 100,
+ "output": [
+ "alsa.hw:0"
+ ],
+ "actions": [
+ "goodbye_sound"
+ ],
+ "interupt_behavior": "cancel"
+ }
+ ]
+}