From 46eb4a3dbcaeae7eb321d153a577e2ee6460f4c7 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Tue, 31 Oct 2017 18:54:36 +0900 Subject: Enable audio management with Sound Manager automatically Originally, configuration.xml(Audio policy file for Sound Manager) must be replaced manually to use Sound Manager. And /etc/pulse/default.pa file must be modified not to load module router manually for now. The module-router couldn't coexist with soundmanager for now. (In the future, coexist for supporting legacy apps) This patch enables Audio Management system based on Sound Manager and Genivi Audio Manager automatically. [Patch Set3] - Remove bbappend - Override pulseaudio-config - Override audiomanager-plugins-config - Add PREFERRED_PROVIDER to the packagegroup-hmi-framework.bb [Patch Set6] - Remove recipes related to soundmanager from hmi-framework - Create a new feature as agl-audio-soundmanager-framework [Patch Set7] - Use PROVIDES instead of RPROVIDES Bug-AGL: SPEC-1025, SPEC-1026, SPEC-1027 Change-Id: I26e484e130feac2bedc13839110a6208579b8bbc Signed-off-by: Kazumasa Mitsunari --- .../feature/agl-audio-soundmanager-framework/50_bblayers.conf.inc | 5 +++++ templates/feature/agl-audio-soundmanager-framework/50_local.conf.inc | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 templates/feature/agl-audio-soundmanager-framework/50_bblayers.conf.inc create mode 100644 templates/feature/agl-audio-soundmanager-framework/50_local.conf.inc (limited to 'templates/feature/agl-audio-soundmanager-framework') diff --git a/templates/feature/agl-audio-soundmanager-framework/50_bblayers.conf.inc b/templates/feature/agl-audio-soundmanager-framework/50_bblayers.conf.inc new file mode 100644 index 00000000..2ab00c61 --- /dev/null +++ b/templates/feature/agl-audio-soundmanager-framework/50_bblayers.conf.inc @@ -0,0 +1,5 @@ + +BBLAYERS =+ " \ + ${METADIR}/meta-agl-devel/meta-audio-soundmanager-framework \ + " + diff --git a/templates/feature/agl-audio-soundmanager-framework/50_local.conf.inc b/templates/feature/agl-audio-soundmanager-framework/50_local.conf.inc new file mode 100644 index 00000000..908ece39 --- /dev/null +++ b/templates/feature/agl-audio-soundmanager-framework/50_local.conf.inc @@ -0,0 +1,4 @@ +DISTRO_FEATURES_append = " agl-audio-soundmanager-framework" +PREFERRED_PROVIDER_virtual/audio-framework = "agl-service-audio-soundmanager" +PREFERRED_PROVIDER_virtual/pulseaudio-config = "pulseaudio-config-soundmanager" +PREFERRED_PROVIDER_virtual/audiomanager-plugins-config = "audiomanager-plugins-config-soundmanager" -- cgit 1.2.3-korg