Signed-off-by: Vinod Koul vinod.koul@linux.intel.com Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com --- sound/Kconfig | 2 ++ sound/Makefile | 3 ++- sound/compress_offload/Kconfig | 12 ++++++++++++ sound/compress_offload/Makefile | 3 +++ 4 files changed, 19 insertions(+), 1 deletions(-) create mode 100644 sound/compress_offload/Kconfig create mode 100644 sound/compress_offload/Makefile
diff --git a/sound/Kconfig b/sound/Kconfig index 1fef141..9b09263 100644 --- a/sound/Kconfig +++ b/sound/Kconfig @@ -93,6 +93,8 @@ source "sound/mips/Kconfig"
source "sound/sh/Kconfig"
+source "sound/compress_offload/Kconfig" + # the following will depend on the order of config. # here assuming USB is defined before ALSA source "sound/usb/Kconfig" diff --git a/sound/Makefile b/sound/Makefile index ce9132b..5a54d6c 100644 --- a/sound/Makefile +++ b/sound/Makefile @@ -6,7 +6,8 @@ obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o obj-$(CONFIG_SOUND_PRIME) += oss/ obj-$(CONFIG_DMASOUND) += oss/ obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \ - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ + firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ \ + compress_offload/ obj-$(CONFIG_SND_AOA) += aoa/
# This one must be compilable even if sound is configured out diff --git a/sound/compress_offload/Kconfig b/sound/compress_offload/Kconfig new file mode 100644 index 0000000..7ed2d04 --- /dev/null +++ b/sound/compress_offload/Kconfig @@ -0,0 +1,12 @@ +# +# compressed offload config +# + +menuconfig 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. + diff --git a/sound/compress_offload/Makefile b/sound/compress_offload/Makefile new file mode 100644 index 0000000..f0f378f --- /dev/null +++ b/sound/compress_offload/Makefile @@ -0,0 +1,3 @@ +snd-compress-objs := core.o + +obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o