Author: blogic
Date: 2015-12-11 16:05:53 +0100 (Fri, 11 Dec 2015)
New Revision: 47852

Modified:
   trunk/package/kernel/linux/modules/sound.mk
Log:
kernel: Add dummy sound driver

Useful when using sound players that can send to icecast, etc. without any 
sound device attached.

Signed-off-by: Ted Hess <[email protected]>

Modified: trunk/package/kernel/linux/modules/sound.mk
===================================================================
--- trunk/package/kernel/linux/modules/sound.mk 2015-12-11 15:05:40 UTC (rev 
47851)
+++ trunk/package/kernel/linux/modules/sound.mk 2015-12-11 15:05:53 UTC (rev 
47852)
@@ -273,3 +273,19 @@
 endef
 
 $(eval $(call KernelPackage,pcspkr))
+
+define KernelPackage/sound-dummy
+  $(call AddDepends/sound)
+  TITLE:=Null sound output driver (sink)
+  KCONFIG:= \
+       CONFIG_SND_DUMMY
+  FILES:= \
+       $(LINUX_DIR)/sound/drivers/snd-dummy.ko
+  AUTOLOAD:=$(call AutoLoad,32,snd-dummy)
+endef
+
+define KernelPackage/sound_dummy/description
+ Dummy sound device for Alsa when no hardware present
+endef
+
+$(eval $(call KernelPackage,sound-dummy))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to