summaryrefslogtreecommitdiffstats
path: root/meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template
diff options
context:
space:
mode:
authorronan <ronan@iot.bzh>2017-11-24 19:00:41 +0100
committerronan <ronan@iot.bzh>2017-11-28 08:20:11 +0100
commit51f13ca3ac2ae698e7356bda826f0d4a75e11092 (patch)
tree5835e8145b28c51e7993c24f39d1da209fcce6d0 /meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template
parent21cf14bcfec3ddbec729ed2b856861d1f96fb478 (diff)
Change 4A PCM Name
* Update Policy level of each pcm * Fix Pulseaudio start * Add 4A module config to pulse audio SPEC-1140: we need to have orderer PCM list in file 90-4a-modules.pa, to fix pulseaudio startup. (From lower to higher). Bug-AGL: SPEC-1136 Bug-AGL: SPEC-1103 Change-Id: I847711d9076a0d9817176a5cc3dee823476d8703 Signed-off-by: ronan <ronan@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template')
-rw-r--r--meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template103
1 files changed, 92 insertions, 11 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template b/meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template
index 82e9668d..57fc5cca 100644
--- a/meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template
+++ b/meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template
@@ -6,31 +6,112 @@
"hal_list": ["@AUDIO_DEV_NAME_ID@"],
"audio_roles": [
{
- "name": "Guidance",
+ "name": "Emergency",
+ "description": "to complete",
+ "priority": 99,
+ "output": [
+ "alsa.plug:Emergency_Main"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Warning",
+ "description": "to complete",
+ "priority": 95,
+ "output": [
+ "alsa.plug:Warning_Main"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "CustomHigh",
+ "description": "to complete",
+ "priority": 79,
+ "output": [
+ "alsa.plug:CustomHigh_Main"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Phone",
+ "description": "to complete",
+ "priority": 72,
+ "output": [
+ "alsa.plug:Phone_Main"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Navigation",
"description": "Important user information where user action is expected (e.g. navigation instruction)",
- "priority": 25,
+ "priority": 71,
"output": [
- "alsa.plug:Guidance_Main"
+ "alsa.plug:Navigation_Main"
+ ],
+ "interupt_behavior": "pause"
+ },
+ {
+ "name": "CustomMedium",
+ "description": "to complete",
+ "priority": 59,
+ "output": [
+ "alsa.plug:CustomMedium_Main"
],
"interupt_behavior": "continue"
},
{
- "name": "Notification",
- "description": "HMI or else notifications (e.g. touchscreen events, speech recognition on/off,...)",
- "priority": 100,
+ "name": "Video",
+ "description": "Video content",
+ "priority": 57,
"output": [
- "alsa.plug:Notification_Main"
+ "alsa.plug:Video_Main"
],
"interupt_behavior": "pause"
},
{
- "name": "Entertainment",
- "description": "Multimedia content (e.g. tuner, media player, etc.)",
- "priority": 0,
+ "name": "Streaming",
+ "description": "Streaming content",
+ "priority": 55,
+ "output": [
+ "alsa.plug:Streaming_Main"
+ ],
+ "interupt_behavior": "pause"
+ },
+ {
+ "name": "Multimedia",
+ "description": "Multimedia content",
+ "priority": 53,
"output": [
- "alsa.plug:Entertainment_Main"
+ "alsa.plug:Multimedia_Main"
],
"interupt_behavior": "pause"
+ },
+ {
+ "name": "Radio",
+ "description": "Radio content",
+ "priority": 51,
+ "output": [
+ "alsa.plug:Radio_Main"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "CustomLow",
+ "description": "to complete",
+ "priority": 19,
+ "output": [
+ "alsa.plug:CustomLow_Main"
+ ],
+ "interupt_behavior": "continue"
+ },
+ {
+ "name": "Fallback",
+ "description": "to complete",
+ "priority": 0,
+ "output": [
+ "alsa.plug:Fallback_Main"
+ ],
+ "interupt_behavior": "continue"
}
]
}