wireplumber-policy-config-agl: Change Mediaplayer role policy 78/29578/2
authorScott Murray <scott.murray@konsulko.com>
Thu, 4 Jan 2024 23:13:20 +0000 (18:13 -0500)
committerScott Murray <scott.murray@konsulko.com>
Sat, 6 Jan 2024 23:54:32 +0000 (23:54 +0000)
Change Mediaplayer role policy from cork to mix so that doing media
playback when radio is playing or vice versa does not result in one
of them becoming stuck in corked state.  This is not really optimal
for the older demo platform images where they are separate
applications, as they will be able to play over each other, but it
does allow us to avoid breakage in the new Flutter homescreen that
drives both media and radio playback from the same application.
Hopefully in the longer term a better solution for corking multiple
sources interacting in a single role will become available.

Bug-AGL: SPEC-4791

Change-Id: Ib0b3a559533d68733920290a303db6ed1875bf5a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29578
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jenkins Job builder account
meta-pipewire/recipes-multimedia/wireplumber/wireplumber-policy-config-agl/policy.lua.d/10-default-policy.lua

index e6170dd..6814fce 100644 (file)
@@ -66,7 +66,7 @@ policy_config.policy = {
     ["Multimedia"] = {
       ["alias"] = { "Movie", "Music", "Game" },
       ["priority"] = 25,
-      ["action.default"] = "cork",
+      ["action.default"] = "mix",
     },
     ["Speech-Low"] = {
       ["priority"] = 30,