4a-mixer: use PREFERRED_RPROVIDER for virtual/mixer 07/15407/1
authorStephane Desneux <stephane.desneux@iot.bzh>
Mon, 16 Jul 2018 14:21:05 +0000 (16:21 +0200)
committerStephane Desneux <stephane.desneux@iot.bzh>
Mon, 16 Jul 2018 14:21:05 +0000 (16:21 +0200)
This removes ambiguity on the mixer choice when 4A is enabled.

The warning seen at the beginning of bitbake also disappears:
------
NOTE: Multiple providers are available for runtime virtual/mixer (4a-mixer, mixer)
Consider defining a PREFERRED_RPROVIDER entry to match virtual/mixer
------

Bug-AGL: SPEC-1520

Change-Id: I2fb9173f4616dc3d26ce5bc11f1c1686179d0456
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-audio-4a-framework/conf/include/agl-audio-4a-framework.inc

index da62666..935b9ad 100644 (file)
@@ -14,7 +14,7 @@ PACKAGES_pn-alsa-state_remove = "alsa-state-dev"
 PACKAGES_pn-alsa-state_remove = "alsa-states-dev"
 PACKAGES_pn-alsa-state = "alsa-state alsa-states"
 
-PREFERRED_PROVIDER_virtual/mixer ?= "4a-mixer"
+PREFERRED_RPROVIDER_virtual/mixer ?= "4a-mixer"
 
 PREFERRED_VERSION_alsa-lib           = "1.1.6"
 PREFERRED_VERSION_alsa-plugins       = "1.1.6"