Merge "voice processing: support several sessions per input stream" into qt-dev
diff --git a/voice_processing/voice_processing.c b/voice_processing/voice_processing.c
index 8c6e7fc..c363ba4 100644
--- a/voice_processing/voice_processing.c
+++ b/voice_processing/voice_processing.c
@@ -20,7 +20,7 @@
#include <dlfcn.h>
#include <unistd.h>
-#include <cutils/log.h>
+#include <log/log.h>
#include <cutils/list.h>
#include <hardware/audio_effect.h>
#include <audio_effects/effect_aec.h>
@@ -401,7 +401,7 @@
list_for_each(node, &session_list) {
session = node_to_item(node, struct session_s, node);
- if (session->io == ioId) {
+ if (session->id == sessionId) {
if (session->created_msk & (1 << id)) {
ALOGV("get_session() effect %d already created", id);
return NULL;