From edac813f7bad367f3c763d9077333dadd98e13fc Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Mon, 9 May 2016 16:52:59 +0800 Subject: asound.conf: Update asound.conf to set default ctrl for kernel 4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default ctrl is missing from /etc/asound.conf. If don't using “-Dhw:0”, the sound will rout from alsa to pulseaudio, then to the sound device. Signed-off-by: Yuqing Zhu Signed-off-by: Otavio Salvador --- recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes-bsp/alsa-state') diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf index 3f4e0482..7f8eef17 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf @@ -251,6 +251,11 @@ route_policy "average" slave.pcm "asymed" } +ctl.!default{ +type hw +card 0 +} + ctl.mixer0{ type hw card 0 -- cgit v1.2.3-54-g00ecf