From c8715e4a23bbe7cc53e8d8352a0bc6c5a21574bb Mon Sep 17 00:00:00 2001 From: Sayak Ghosh Choudhury Date: Tue, 24 Jun 2014 17:32:14 +0530 Subject: 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 Reviewed-on: http://git-master/r/427720 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani --- sound/soc/tegra/tegra30_avp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound') 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; -- cgit v1.2.3