[alsa-devel] [RFC PATCH 0/2] ASoC: add compress stream support

Vinod Koul vinod.koul at linux.intel.com
Tue Jul 31 08:41:38 CEST 2012

Here is the much delayed support for compress audio streams in ASoC.
This patch series is in RFC form, once we have agreed on this I will send
the patches supporting Intel driver as well.

Mainly we indicate if the dai is of compressed nature and based on that
register a new compressed device. Also the platform driver adds the compress
stream operations.
Since the codecs handles PCM only, the assumption is that they will not have
anything to do here and machine needs to set codec appropriately for compressed
streams. In future if codec with such support are available then we can simply
add compressed operations into codec as well

Comments, criticism welcome...

Namarta Kohli (1):
  ASoC: add compress stream support

Vinod Koul (1):
  ASoC: add definations for compressed operations

 include/sound/compress_driver.h |    1 +
 include/sound/soc-dai.h         |    2 +
 include/sound/soc.h             |   17 ++-
 sound/soc/Makefile              |    2 +-
 sound/soc/soc-compress.c        |  297 +++++++++++++++++++++++++++++++++++++++
 sound/soc/soc-core.c            |   10 ++-
 6 files changed, 326 insertions(+), 3 deletions(-)
 create mode 100644 sound/soc/soc-compress.c

More information about the Alsa-devel mailing list