summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2013-05-21 10:25:51 +0100
committerSachin Nikam <snikam@nvidia.com>2014-01-23 06:15:51 -0800
commit8c41714b4a0569519c357853fab725bacebe6c4a (patch)
tree047b752e915a7146b6eae538e15e54b4c66fc64f /include/sound
parent10d61f632293e8b637d97b6803dd8158e8ba4ed1 (diff)
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 <liam.r.girdwood@linux.intel.com> Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/358239 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/compress_driver.h2
-rw-r--r--include/sound/soc.h1
2 files changed, 3 insertions, 0 deletions
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 <sound/pcm.h>
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;