summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-12-01 15:26:54 -0800
committerAndreas Huber <andih@google.com>2009-12-01 15:26:54 -0800
commit8768f2ccefdd7862a248995055aa04fd2d5a4dfe (patch)
tree889d228a9857efec02281f1536b11699dfa2a6f6 /include
parented90811e711065bcc82a45f4173587cd95ef6b6f (diff)
downloadframeworks_base-8768f2ccefdd7862a248995055aa04fd2d5a4dfe.zip
frameworks_base-8768f2ccefdd7862a248995055aa04fd2d5a4dfe.tar.gz
frameworks_base-8768f2ccefdd7862a248995055aa04fd2d5a4dfe.tar.bz2
A small sample tool to encode pcm audio data to amr, decode it again and play it. Some changes to OMXCodec to properly configure the AMR decoder(s).
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXCodec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 4c60623..4199252 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -146,8 +146,7 @@ private:
void setComponentRole();
- void setAMRFormat();
- void setAMRWBFormat();
+ void setAMRFormat(bool isWAMR);
void setAACFormat(int32_t numChannels, int32_t sampleRate);
status_t setVideoPortFormatType(