[OE-core] [PATCH] alsa-state: Provide an empty asound.conf by default

Darren Hart dvhart at linux.intel.com
Tue Jul 9 22:15:28 UTC 2013


An empty asound.conf should work for most cases. The existing asound.conf
uses plug dmix which causes arecord to fail without a special -D device
specification on the command line (as no capture device is defined).

Clear asound.conf for the default case. Any needed changes should be
made in the BSP layers.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Cc: Koen Kooi <koen at dominion.thruhere.net>
---
 meta/recipes-bsp/alsa-state/alsa-state/asound.conf | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/meta/recipes-bsp/alsa-state/alsa-state/asound.conf b/meta/recipes-bsp/alsa-state/alsa-state/asound.conf
index 6be0242..03653cf 100644
--- a/meta/recipes-bsp/alsa-state/alsa-state/asound.conf
+++ b/meta/recipes-bsp/alsa-state/alsa-state/asound.conf
@@ -1,12 +1 @@
-# default dmix configuration
-
-pcm.!default {
-    type plug
-    slave.pcm "dmix"
-}
-
-ctl.mixer0 {
-    type hw
-    card 0
-}
-
+# Global alsa-lib configuration
-- 
1.8.3.1




More information about the Openembedded-core mailing list