Changeset 47852


Ignore:
Timestamp:
2015-12-11T16:05:53+01:00 (2 years ago)
Author:
blogic
Message:

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 <thess@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/linux/modules/sound.mk

    r47274 r47852  
    274274 
    275275$(eval $(call KernelPackage,pcspkr)) 
     276 
     277define KernelPackage/sound-dummy 
     278  $(call AddDepends/sound) 
     279  TITLE:=Null sound output driver (sink) 
     280  KCONFIG:= \ 
     281        CONFIG_SND_DUMMY 
     282  FILES:= \ 
     283        $(LINUX_DIR)/sound/drivers/snd-dummy.ko 
     284  AUTOLOAD:=$(call AutoLoad,32,snd-dummy) 
     285endef 
     286 
     287define KernelPackage/sound_dummy/description 
     288 Dummy sound device for Alsa when no hardware present 
     289endef 
     290 
     291$(eval $(call KernelPackage,sound-dummy)) 
Note: See TracChangeset for help on using the changeset viewer.