]> code.ossystems Code Review - meta-freescale.git/commitdiff
asound.conf: Update asound.conf to set default ctrl for kernel 4.1
authorYuqing Zhu <carol.zhu@nxp.com>
Mon, 9 May 2016 08:52:59 +0000 (16:52 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 16 May 2016 20:06:51 +0000 (17:06 -0300)
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 <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/alsa-state/alsa-state/imx/asound.conf

index 3f4e04828ee08fb081125836741c51d703aa0b8c..7f8eef17d1f96ca64e120041a66e4e1b5c6e82d2 100644 (file)
@@ -251,6 +251,11 @@ route_policy "average"
 slave.pcm "asymed"
 }
 
+ctl.!default{
+type hw
+card 0
+}
+
 ctl.mixer0{
 type hw
 card 0