summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2019-03-13 10:35:17 -0700
committerAndy Hung <hunga@google.com>2019-03-13 10:37:14 -0700
commit66e4b1d1cce6d6ee2006e56af215bb20cb9ea820 (patch)
treea267001c1eb90dc3c8451c1b8353f469bb678b5c
parentc2e94c49f1499d183a12c7abd56137cefc430d12 (diff)
downloadvoip-android10-qpr2-release.tar.gz
The record sessionId should be sufficient. Besides the record could have moved to a different io handle in the interim. Test: compiles Bug: 128519136 Change-Id: Ic5235acd447e7714314217a2fdfe481a1a01833d
-rw-r--r--src/jni/rtp/AudioGroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jni/rtp/AudioGroup.cpp b/src/jni/rtp/AudioGroup.cpp
index c1bd4b2..aa3fc66 100644
--- a/src/jni/rtp/AudioGroup.cpp
+++ b/src/jni/rtp/AudioGroup.cpp
@@ -847,7 +847,7 @@ bool AudioGroup::DeviceThread::threadLoop()
0,
0,
record->getSessionId(),
- record->getInput());
+ AUDIO_IO_HANDLE_NONE); // record sessionId is sufficient.
status_t status = aec->initCheck();
if (status == NO_ERROR || status == ALREADY_EXISTS) {
aec->setEnabled(true);