From 51f13ca3ac2ae698e7356bda826f0d4a75e11092 Mon Sep 17 00:00:00 2001 From: ronan Date: Fri, 24 Nov 2017 19:00:41 +0100 Subject: 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 --- .../agl-service-audio-4a/agl-service-audio-4a_git.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a') diff --git a/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb b/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb index a0bb6d90..2422743d 100644 --- a/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb +++ b/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb @@ -28,6 +28,9 @@ while ! ls $svcfile > /dev/null; do sleep 0.2 N=$(expr $N - 1) done +sed -i '/\[Unit\]/ a Before=pulseaudio.service' $svcfile; +sed -i '/\[Unit\]/ a ConditionPathExistsGlob=/dev/snd/control*' $svcfile; + sed -i -e 's|/usr/bin/afb-daemon\>|& --ldpath=/usr/libexec/agl/afb-aaaa/lib:/usr/libexec/agl/4a-alsa-core/lib|' $svcfile echo "-- TMP 4A INSTALL FIX END" -- cgit 1.2.3-korg