summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtneya Nair <atneya@google.com>2022-05-17 19:25:46 -0400
committerAtneya Nair <atneya@google.com>2022-05-17 19:25:46 -0400
commit634f6e6ce92776ecc62640affc5267ab9f31e2e1 (patch)
treeed4a17a303ebd71a80fd2d025f21bbb0b474e769
parent4416f10f73cc3ab4d4a567dd28f1a3b53e0db0fa (diff)
downloadvoip-634f6e6ce92776ecc62640affc5267ab9f31e2e1.tar.gz
Update AudioEffect caller to new interface
Test: Compiles Bug: 199156212 Change-Id: I55def4d5eda53f0e6867d882ff099d31f931fccd
-rw-r--r--src/jni/rtp/AudioGroup.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jni/rtp/AudioGroup.cpp b/src/jni/rtp/AudioGroup.cpp
index eb3b18f..08e8933 100644
--- a/src/jni/rtp/AudioGroup.cpp
+++ b/src/jni/rtp/AudioGroup.cpp
@@ -855,10 +855,9 @@ bool AudioGroup::DeviceThread::threadLoop()
if (mGroup->platformHasAec()) {
aec = new AudioEffect(mGroup->mAttributionSource);
aec->set(FX_IID_AEC,
- NULL,
- 0,
- 0,
- 0,
+ nullptr, // uid
+ 0, // priority
+ nullptr, // callback
record->getSessionId(),
AUDIO_IO_HANDLE_NONE); // record sessionId is sufficient.
status_t status = aec->initCheck();