Commit Graph

11 Commits

Author SHA1 Message Date
Sachin Mohan Gadag 5030d3425f mm-audio: Remove malloc allocation for ptr pointer
Currently free of ptr pointer is failing because
ptr pointer is not pointing to base address of malloc
function. Reason is, strtoul api stores the address
of the first invalid character of input string parameter
to ptr pointer. Hence removing malloc allocation is not
required as value of ptr pointer will be first invalid
input string address.

Change-Id: I612002b15594b666bf9053c3e49bc62a7efb86ee
2018-04-20 01:10:57 -07:00
Preetam Singh Ranawat e1e6ca16ae audio: Fix compilation error for encoders
-Fix compilation error with Android upgrade.

Change-Id: I9caa378252b299f9a261f89e27e78de1a3fe6c76
2018-02-19 13:51:17 +05:30
Preetam Singh Ranawat 109bb3c47c hal : Add NULL check before dereferencing pointer
-Add proper checks to fix NULL pointer dereference issues.

Change-Id: Idd3d165ac179d21745958710d28cfae43a50c793
2018-01-30 12:12:28 +05:30
yidongh ddd67d43d5 hal: audio-test: remove code sections referring to audio-alsa
audio-alsa is removed from mm-audio, reomve code sections
referring to audio-alsa.

CRs-Fixed: 2126971
Change-Id: I50bd466a931a39846dc2fc5f136a38a9f64b2148
2017-10-25 19:12:12 -07:00
Sachin Mohan Gadag 10aefdac16 mm-audio: Fix Security Issues
Add validation for input paramters for test
app.

Change-Id: I36c7e1a9af42dede6bb21d4619c3c549fc4f2701
2017-09-12 19:57:31 +05:30
Preetam Singh Ranawat 83382efdec Revert "hal: audio-test: Move omx tests mm-audio-internal"
This reverts commit 2ce1027d13.

Also Fix NULL stream pointer LLVM issue by performing
NULL check before dereference the pointer

Change-Id: Ia2a8b3492b5424993e6c651555054d899f2ca3f2
2017-09-12 19:53:40 +05:30
Aniket Kumar Lata 2ce1027d13 hal: audio-test: Move omx tests mm-audio-internal
Moving omx test applications for encoders and decoders to
mm-audio-internal.

CRs-Fixed: 2014832
Change-Id: I8df3703dc84f7f277258b036bd6df87946af6efb
2017-05-05 02:40:09 -07:00
Arun Kumar Dasari 0ebd10f622 mm-audio: aac: modify aac encoding test app
test app uses input pcm file sample rate for AAC encoding.
Modify test app to perform AAC encoding with sample rate
mentioned by user

Change-Id: I4dde722b8ae91a1312acdf0be63781e28868aa10
2017-01-02 02:27:31 -08:00
Arun Kumar Dasari ff7f7bea21 mm-audio: aac: modify aac encoding test app
modify aac test app to support pcm-mono to aac-stereo encoding
and pcm-stereo to aac-mono encoding

Change-Id: Ic24860a21bb537dc39eca03d2a7153ceff16baba
2017-01-02 02:27:09 -08:00
Karthik Reddy Katta be61caaa0a mm-audio: omx: add 64 bit support
-Changes to support omx encoders on 64 bit platform

Change-Id: I05749f619efaf66e107b1438635a38f92a11b523
2014-05-04 09:21:39 +05:30
Mingming Yin 486032d272 audio: audio encoder/decoder enhancement
- Enable decoder test app for AAC, AMR,
  AMRWB, and MP3 formats.
- Enable encoder for AMRWB, AAC, EVRC,
  and QCELP formats.

Change-Id: I0c75dcc4fb02044f127270a64d3578d62bf6eeda
2013-10-09 17:21:38 -07:00