ALSA: core: add makefile and kconfig file for compress
authorVinod Koul <vinod.koul@linux.intel.com>
Fri, 23 Dec 2011 05:06:40 +0000 (10:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 Dec 2011 09:08:38 +0000 (10:08 +0100)
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/Kconfig
sound/core/Makefile

index 475455c76610cdd2ac7c227be01babda6ab72bd8..2dc7776e218c7536667f2a856654b37972705c4e 100644 (file)
@@ -155,6 +155,16 @@ config SND_DYNAMIC_MINORS
 
          If you are unsure about this, say N here.
 
+config SND_COMPRESS_OFFLOAD
+       tristate "ALSA Compressed audio offload support"
+       default n
+       help
+         If you want support for offloading compressed audio and have such
+         a hardware, then you should say Y here and also to the DSP driver
+         of your platform.
+
+         If you are unsure about this, say N here.
+
 config SND_SUPPORT_OLD_API
        bool "Support old ALSA API"
        default y
index 350a08d277f42ba41fd4c96ead6c7900c1ec9824..67c8e9336611857f4e2ab41e486a8138955e3b79 100644 (file)
@@ -21,6 +21,8 @@ snd-hrtimer-objs  := hrtimer.o
 snd-rtctimer-objs := rtctimer.o
 snd-hwdep-objs    := hwdep.o
 
+snd-compress-objs := compress_offload.o
+
 obj-$(CONFIG_SND)              += snd.o
 obj-$(CONFIG_SND_HWDEP)                += snd-hwdep.o
 obj-$(CONFIG_SND_TIMER)                += snd-timer.o
@@ -31,3 +33,5 @@ obj-$(CONFIG_SND_RAWMIDI)     += snd-rawmidi.o
 
 obj-$(CONFIG_SND_OSSEMUL)      += oss/
 obj-$(CONFIG_SND_SEQUENCER)    += seq/
+
+obj-$(CONFIG_SND_COMPRESS_OFFLOAD)     += snd-compress.o