summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaneswara Tatakuntla <dtatakun@codeaurora.org>2011-01-15 08:28:51 +0530
committerArne Coucheron <arco68@gmail.com>2011-10-15 07:56:43 +0200
commit7752dceca3ce181533d3a0319c4961d29f946467 (patch)
tree4eaf302c18c319211aaef02552043aa4d3ac9fe6 /include
parent5eede5f9d2971a23bdd61493af586248613b3364 (diff)
downloadframeworks_base-7752dceca3ce181533d3a0319c4961d29f946467.zip
frameworks_base-7752dceca3ce181533d3a0319c4961d29f946467.tar.gz
frameworks_base-7752dceca3ce181533d3a0319c4961d29f946467.tar.bz2
libstagefright: Enhance software AAC encoder to support stereo recording.
Take channel count into consideration while encoding and reading PCM samples from AudioSource. Change-Id: I3e92ade2958bd55cf5c9540edf2316c5e5f5d5ee
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/AudioSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/AudioSource.h b/include/media/stagefright/AudioSource.h
index d484d60..a7a8663 100644
--- a/include/media/stagefright/AudioSource.h
+++ b/include/media/stagefright/AudioSource.h
@@ -50,7 +50,7 @@ protected:
private:
enum {
- kMaxBufferSize = 2048,
+ kMaxBufferSize = 4096,
// After the initial mute, we raise the volume linearly
// over kAutoRampDurationUs.