diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-11-13 15:21:06 -0800 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2012-11-15 14:55:43 -0800 |
| commit | 86d1860a1d9c905bf8ee8328bcee4537cd02fcd6 (patch) | |
| tree | d2fcdcf4e80a2447d6ca623fcd93869cf46f15bd | |
| parent | 3fc95054ca84da3f78935774023f61587ec3beb5 (diff) | |
| download | android_frameworks_opt_net_voip-86d1860a1d9c905bf8ee8328bcee4537cd02fcd6.tar.gz android_frameworks_opt_net_voip-86d1860a1d9c905bf8ee8328bcee4537cd02fcd6.tar.bz2 android_frameworks_opt_net_voip-86d1860a1d9c905bf8ee8328bcee4537cd02fcd6.zip | |
Use size_t for frame count
Change-Id: Idd364443715a920ece2cc54acc95b395b6ed2c6c
| -rw-r--r-- | jni/rtp/AudioGroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ bool AudioGroup::DeviceThread::threadLoop() 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, |
