From 8c41714b4a0569519c357853fab725bacebe6c4a Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Tue, 21 May 2013 10:25:51 +0100 Subject: ASoC: compress: Add suport for DPCM into compressed audio Allow compressed audio streams to traverse the DAPM graph of DAIs like PCM streams. Change-Id: Id92f154ed1812b0dadcde2dc0aecb4cc393f17da Signed-off-by: Liam Girdwood Signed-off-by: Sumit Bhattacharya Reviewed-on: http://git-master/r/358239 Reviewed-by: Ravindra Lokhande Reviewed-by: Sachin Nikam --- include/sound/compress_driver.h | 2 ++ include/sound/soc.h | 1 + 2 files changed, 3 insertions(+) (limited to 'include/sound') diff --git a/include/sound/compress_driver.h b/include/sound/compress_driver.h index ae6c3b8ed2f5..2b2d2fb1e8cd 100644 --- a/include/sound/compress_driver.h +++ b/include/sound/compress_driver.h @@ -32,6 +32,7 @@ #include struct snd_compr_ops; +struct snd_pcm_substream; /** * struct snd_compr_runtime: runtime stream description @@ -59,6 +60,7 @@ struct snd_compr_runtime { u64 total_bytes_available; u64 total_bytes_transferred; wait_queue_head_t sleep; + struct snd_pcm_substream *fe_substream; void *private_data; }; diff --git a/include/sound/soc.h b/include/sound/soc.h index 85c15226103b..5bbdc653a826 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1063,6 +1063,7 @@ struct snd_soc_pcm_runtime { /* Dynamic PCM BE runtime data */ struct snd_soc_dpcm_runtime dpcm[2]; + int fe_compr; long pmdown_time; unsigned char pop_wait:1; -- cgit v1.2.3