From 54447aa1f8eb8366567a96f45713fd1cae036e1e Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Sat, 11 Nov 2017 19:00:27 +0100 Subject: Initial integration of 4A (AGL Advance Audio Agent) This is a move of the work done initially by Ronan Le Martret in https://gerrit.automotivelinux.org/gerrit/#/c/11651/ Change-Id: I3c2124b186e72fd9804ff713b22a36a93283650e Signed-off-by: Stephane Desneux --- .../4a-hal-config/files/ahl-config.json.template | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template (limited to 'meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template') 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 new file mode 100644 index 00000000..82e9668d --- /dev/null +++ b/meta-audio-4a-framework/recipes-multimedia/4a-hal-config/files/ahl-config.json.template @@ -0,0 +1,36 @@ +{ + "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": ["@AUDIO_DEV_NAME_ID@"], + "audio_roles": [ + { + "name": "Guidance", + "description": "Important user information where user action is expected (e.g. navigation instruction)", + "priority": 25, + "output": [ + "alsa.plug:Guidance_Main" + ], + "interupt_behavior": "continue" + }, + { + "name": "Notification", + "description": "HMI or else notifications (e.g. touchscreen events, speech recognition on/off,...)", + "priority": 100, + "output": [ + "alsa.plug:Notification_Main" + ], + "interupt_behavior": "pause" + }, + { + "name": "Entertainment", + "description": "Multimedia content (e.g. tuner, media player, etc.)", + "priority": 0, + "output": [ + "alsa.plug:Entertainment_Main" + ], + "interupt_behavior": "pause" + } + ] +} -- cgit 1.2.3-korg