am 9813e365: am 940ad4aa: Merge "Make AudioGroup.add locale safe"
* commit '9813e365e55a59348d12e36e08902899c3f05eb0':
Make AudioGroup.add locale safe
diff --git a/jni/rtp/Android.mk b/jni/rtp/Android.mk
index 82d7912..b265cdd 100644
--- a/jni/rtp/Android.mk
+++ b/jni/rtp/Android.mk
@@ -37,7 +37,6 @@
libcutils \
libutils \
libmedia \
- libmedia_native \
libstagefright_amrnb_common
LOCAL_STATIC_LIBRARIES := libgsm libstagefright_amrnbdec libstagefright_amrnbenc
diff --git a/jni/rtp/AudioGroup.cpp b/jni/rtp/AudioGroup.cpp
index 1579e6a..2f0829e 100644
--- a/jni/rtp/AudioGroup.cpp
+++ b/jni/rtp/AudioGroup.cpp
@@ -785,8 +785,8 @@
int deviceSocket = mGroup->mDeviceSocket;
// Find out the frame count for AudioTrack and AudioRecord.
- int output = 0;
- int input = 0;
+ size_t output = 0;
+ size_t input = 0;
if (AudioTrack::getMinFrameCount(&output, AUDIO_STREAM_VOICE_CALL,
sampleRate) != NO_ERROR || output <= 0 ||
AudioRecord::getMinFrameCount(&input, sampleRate,