summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
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
commitc297fccffc4ab1cb3b9f5c6a5b0802be057f3e0f (patch)
tree7f7bd7bfa58df757385ab01ffcd3fd7e27351cfb /include/media/stagefright/OMXCodec.h
parenta7c816c4bdb72cf4f9fe853a96cd7efdb394006d (diff)
downloadframeworks_av-c297fccffc4ab1cb3b9f5c6a5b0802be057f3e0f.zip
frameworks_av-c297fccffc4ab1cb3b9f5c6a5b0802be057f3e0f.tar.gz
frameworks_av-c297fccffc4ab1cb3b9f5c6a5b0802be057f3e0f.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/media/stagefright/OMXCodec.h')
-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(