summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSayak Ghosh Choudhury <sayakc@nvidia.com>2014-06-24 17:32:14 +0530
committerEmad Mir <emir@nvidia.com>2014-07-07 13:12:46 -0700
commitc8715e4a23bbe7cc53e8d8352a0bc6c5a21574bb (patch)
treebdcdd838e3cbe08de2d613169d885b2baf14819f /sound
parent5a621bf2aaf3355e1330a662dc98e943d68ef86d (diff)
ASoC: Tegra: support raw aac for compress offload
raw aac support is added for compress decoding on avp. Bug 200013486 Change-Id: I355bc8b1636811fb51abb4c4c6ca23f207ec5064 Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com> Reviewed-on: http://git-master/r/427720 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra30_avp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra30_avp.c b/sound/soc/tegra/tegra30_avp.c
index a21aff8d1c04..d28e25ab057c 100644
--- a/sound/soc/tegra/tegra30_avp.c
+++ b/sound/soc/tegra/tegra30_avp.c
@@ -213,7 +213,7 @@ struct snd_compr_codec_caps tegra30_avp_compr_codec_caps[] = {
SND_RATECONTROLMODE_VARIABLEBITRATE,
.profiles = SND_AUDIOPROFILE_AAC,
.modes = SND_AUDIOMODE_AAC_LC,
- .formats = SND_AUDIOSTREAMFORMAT_MP4ADTS,
+ .formats = SND_AUDIOSTREAMFORMAT_RAW,
.min_buffer = 1024,
},
},
@@ -940,7 +940,7 @@ static int tegra30_avp_compr_set_params(int id,
/* AAC-LC is only supported profile*/
stream->u.aac.audio_profile = AAC_PROFILE_LC;
stream->u.aac.sampling_freq = params->rate;
- stream->u.aac.payload_type = AAC_PAYLOAD_ADTS;
+ stream->u.aac.payload_type = AAC_PAYLOAD_RAW;
switch (params->rate) {
case 8000:
stream->u.aac.sampling_freq_index = 0xb;