[LEDE-DEV] [PATCH] kernel: add kmod-snd-aloop package

Roman Spychała roed at onet.eu
Tue Apr 25 00:37:34 PDT 2017


From: Roman Spychała <roed at onet.eu>

Signed-off-by: Roman Spychała <roed at onet.eu>
---
 package/kernel/linux/modules/sound.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index de5d8fc2c6..cd81c6bf20 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -289,6 +289,22 @@ endef
 
 $(eval $(call KernelPackage,sound-dummy))
 
+define KernelPackage/sound-aloop
+  $(call AddDepends/sound)
+  TITLE:=A loopback soundcard
+  KCONFIG:= \
+        CONFIG_SND_ALOOP
+  FILES:= \
+        $(LINUX_DIR)/sound/drivers/snd-aloop.ko
+  AUTOLOAD:=$(call AutoLoad,32,snd-aloop)
+endef
+
+define KernelPackage/sound_aloop/description
+ Loopback soundcard returns played samples back to user space using standard ALSA PCM device
+endef
+
+$(eval $(call KernelPackage,sound-aloop))
+
 define KernelPackage/sound-hda-core
   SUBMENU:=$(SOUND_MENU)
   TITLE:=HD Audio Sound Core Support
-- 
2.12.2




More information about the Lede-dev mailing list