summaryrefslogtreecommitdiffstats
path: root/conf.d/project/ahl-audiok4a-config.json
blob: 74ab251ef0c0e44f3d5baeeef6c67e1b7ade51b0 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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"
        }
    ]
}