diff options
author | Andreas Huber <andih@google.com> | 2012-01-26 14:39:50 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-01-26 15:45:38 -0800 |
commit | 2b1892db4a2ab47bfc09e59a4c11751aea99e4ea (patch) | |
tree | 7880f7f60262ced7a16fa7439ac0827b78c07d8d /cmds | |
parent | 244ffc8b98c8b59cf64ef3d368c3373014a2f230 (diff) | |
download | frameworks_av-2b1892db4a2ab47bfc09e59a4c11751aea99e4ea.zip frameworks_av-2b1892db4a2ab47bfc09e59a4c11751aea99e4ea.tar.gz frameworks_av-2b1892db4a2ab47bfc09e59a4c11751aea99e4ea.tar.bz2 |
The software AAC encoder is now an OMX component.
Yay.
Change-Id: I74938a20b4e0a622836ea5184d3761180eb0f5de
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/stagefright/record.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/stagefright/record.cpp b/cmds/stagefright/record.cpp index 613435d..7703058 100644 --- a/cmds/stagefright/record.cpp +++ b/cmds/stagefright/record.cpp @@ -38,7 +38,7 @@ static const int32_t kVideoBitRate = 512 * 1024; static const int32_t kAudioBitRate = 12200; static const int64_t kDurationUs = 10000000LL; // 10 seconds -#if 1 +#if 0 class DummySource : public MediaSource { public: @@ -318,7 +318,7 @@ int main(int argc, char **argv) { sp<MetaData> encMeta = new MetaData; encMeta->setCString(kKeyMIMEType, - 1 ? MEDIA_MIMETYPE_AUDIO_AMR_WB : MEDIA_MIMETYPE_AUDIO_AAC); + 0 ? MEDIA_MIMETYPE_AUDIO_AMR_WB : MEDIA_MIMETYPE_AUDIO_AAC); encMeta->setInt32(kKeySampleRate, kSampleRate); encMeta->setInt32(kKeyChannelCount, kNumChannels); encMeta->setInt32(kKeyMaxInputSize, 8192); |