summaryrefslogtreecommitdiffstats
path: root/voip/jni/rtp/AudioCodec.cpp
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-09-29 10:36:52 +0800
committerChia-chi Yeh <chiachi@android.com>2010-09-29 10:36:52 +0800
commita6f950c9682ffffc00ca976aafeeedf391718b1d (patch)
tree214050021aa67943f35439c2a6a50497f7e58f1a /voip/jni/rtp/AudioCodec.cpp
parent78c11b3cf170fdd35ff6984bc2a64c01e2457503 (diff)
downloadframeworks_base-a6f950c9682ffffc00ca976aafeeedf391718b1d.zip
frameworks_base-a6f950c9682ffffc00ca976aafeeedf391718b1d.tar.gz
frameworks_base-a6f950c9682ffffc00ca976aafeeedf391718b1d.tar.bz2
RTP: Enable GSM codec.
Change-Id: Iae1913fb0643f1c66b5d16f24d51924d363e5ef5
Diffstat (limited to 'voip/jni/rtp/AudioCodec.cpp')
-rw-r--r--voip/jni/rtp/AudioCodec.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/voip/jni/rtp/AudioCodec.cpp b/voip/jni/rtp/AudioCodec.cpp
index 8912d82..fc33ef2 100644
--- a/voip/jni/rtp/AudioCodec.cpp
+++ b/voip/jni/rtp/AudioCodec.cpp
@@ -20,6 +20,7 @@
extern AudioCodec *newAlawCodec();
extern AudioCodec *newUlawCodec();
+extern AudioCodec *newGsmCodec();
struct AudioCodecType {
const char *name;
@@ -27,6 +28,7 @@ struct AudioCodecType {
} gAudioCodecTypes[] = {
{"PCMA", newAlawCodec},
{"PCMU", newUlawCodec},
+ {"GSM", newGsmCodec},
{NULL, NULL},
};