From 1e2fde4e89893cc0a16079e87e56100485212c2c Mon Sep 17 00:00:00 2001 From: Rajneesh Chowdhury Date: Wed, 11 Jan 2012 15:14:26 -0800 Subject: [PATCH] [PORT FROM R2] Audio: enable CONFIG_SND_ALOOP to get Alsa loopback virtual soundcard BZ: 6685 To enable the Alsa loopback virtual device, the CONFIG_SND_ALOOP must be set to yes to get snd-aloop built and linked to the kernel. This virtual sound card consists of 2 devices: hw:Loopback,0 hw:Loopback,1 If an application outputs its audio to one of the subdevices e.g. say hw:Loopback,0,0 the audio will be available as input in the corresponding subdevice hw:Loopback,1,0 because the whole point for this card is to send the signal back to itself. The loopback soundcard is needed to enable WiDi capability, as detailled in use case description of P_UC_20322. Note: Cherry pick of Change-Id: I61acb233c5568b80b0d6e9f1f12ad6c673953eb3 to ICS branch did not work in enabling the loopback virtual soundcard. CONFIG_SND_ALOOP needs to be enabled after the CONFIG_SND_DRIVERS. Change-Id: Ia350cd40ce3dd558a6eb24c3ac5ed971649677bd Orig-Change-id: I61acb233c5568b80b0d6e9f1f12ad6c673953eb3 Signed-off-by: Rajneesh Chowdhury Reviewed-on: http://android.intel.com:8080/31589 Reviewed-by: Soulard, MathieuX Reviewed-by: Veeramani, Karthik Reviewed-by: Poornachandran, Rajesh Reviewed-by: Gross, Mark Reviewed-by: Marotte, Fabien Reviewed-by: Bachot, Jean-michelX Tested-by: Zurmely, PierreX Reviewed-by: buildbot Tested-by: buildbot --- arch/x86/configs/i386_mfld_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/configs/i386_mfld_defconfig b/arch/x86/configs/i386_mfld_defconfig index 21b5f0d..d193eb4 100644 --- a/arch/x86/configs/i386_mfld_defconfig +++ b/arch/x86/configs/i386_mfld_defconfig @@ -1954,7 +1954,7 @@ CONFIG_SND_DMA_SGBUF=y CONFIG_SND_DRIVERS=y # CONFIG_SND_PCSP is not set # CONFIG_SND_DUMMY is not set -# CONFIG_SND_ALOOP is not set +CONFIG_SND_ALOOP=y # CONFIG_SND_VIRMIDI is not set # CONFIG_SND_MTPAV is not set # CONFIG_SND_SERIAL_U16550 is not set -- 2.7.4