summaryrefslogtreecommitdiffstats
path: root/voip/java/android/net/rtp
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-09-30 08:51:59 +0800
committerChia-chi Yeh <chiachi@android.com>2010-09-30 08:55:12 +0800
commitf88fc1fa907f720df4a3e915509e688e9e4cf1f8 (patch)
treef60ea63675e44033619680bffd8bca5a3e01638b /voip/java/android/net/rtp
parentf4ae94229d736c7dbd3c5c36d484213d51545702 (diff)
downloadframeworks_base-f88fc1fa907f720df4a3e915509e688e9e4cf1f8.zip
frameworks_base-f88fc1fa907f720df4a3e915509e688e9e4cf1f8.tar.gz
frameworks_base-f88fc1fa907f720df4a3e915509e688e9e4cf1f8.tar.bz2
RTP: Enable AMR codec.
Change-Id: I49e6bdc1b67306b44173f2f346f8372a50264870
Diffstat (limited to 'voip/java/android/net/rtp')
-rw-r--r--voip/java/android/net/rtp/AudioCodec.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/voip/java/android/net/rtp/AudioCodec.java b/voip/java/android/net/rtp/AudioCodec.java
index f171806..3877aeb 100644
--- a/voip/java/android/net/rtp/AudioCodec.java
+++ b/voip/java/android/net/rtp/AudioCodec.java
@@ -80,8 +80,7 @@ public class AudioCodec {
*/
public static final AudioCodec AMR = new AudioCodec(97, "AMR/8000", null);
- // TODO: add rest of the codecs when the native part is done.
- private static final AudioCodec[] sCodecs = {GSM_EFR, GSM, PCMU, PCMA};
+ private static final AudioCodec[] sCodecs = {GSM_EFR, AMR, GSM, PCMU, PCMA};
private AudioCodec(int type, String rtpmap, String fmtp) {
this.type = type;