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

Saul Wold sgw at linux.intel.com
Tue Jul 9 22:43:26 UTC 2013


On 07/09/2013 03:15 PM, Darren Hart wrote:
> 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.
>
Does there need to be any corresponding change for the meta-yocto-bsps?


Sau!


> 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
>



More information about the Openembedded-core mailing list