As agreed during the ASoC workshop in May 2011, this set of patches are a proposal from Intel to add a new compressed data interface to ALSA. This proposal builds on the existing Intel solution and the experience gathered over two years with Meego and Android solutions. This proposal is no longer Intel-specific and was generalized with the addition of a basic core; codec-related definitions are based on the vendor-neutral OpenMAX AL standard.
These patches are also available in git tree: git://git.infradead.org/users/vkoul/snd-compress.git v5_patches
-- Changes in v5: fixed the device minor number and definations removed all BUG_ONs renamed params file to compress-params.h and Doc file to compress_offlaod.txt added notes on stream states used changes all user structs to use fixed size variables
Changes in v4: Rebased on 3.2-rc4, fixed module.h compilation Added sched.h header in compress_driver.h Fixed few warnings while at it
Changes in v3: Fixed the device registration for compressed devices as discussed moved card creation to lower level drivers Added new api for device node creation changes fragment/frame callbacks to single inlined callback
Changes in v2: Fixed the comments recieved in v2 Fixed the comments recieved during LPC discussions add support for alsa device registeration fix the bugs found in testing --
Omair Mohammed Abdullah (1): core: add support for compressed devices
Pierre-Louis Bossart (1): compress offload API documentation
Vinod Koul (4): core: add compress parameter definations core: add API header and driver header files core: add support for compress_offload core: add makefile and kconfig file for compress
Documentation/sound/alsa/compress_offload.txt | 188 ++++++ include/sound/compress_driver.h | 167 ++++++ include/sound/compress_offload.h | 161 ++++++ include/sound/compress_params.h | 397 +++++++++++++ include/sound/core.h | 1 + include/sound/minors.h | 4 +- sound/core/Kconfig | 10 + sound/core/Makefile | 4 + sound/core/compress_offload.c | 765 +++++++++++++++++++++++++ sound/core/sound.c | 1 + 10 files changed, 1697 insertions(+), 1 deletions(-) create mode 100644 Documentation/sound/alsa/compress_offload.txt create mode 100644 include/sound/compress_driver.h create mode 100644 include/sound/compress_offload.h create mode 100644 include/sound/compress_params.h create mode 100644 sound/core/compress_offload.c