Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04387d05 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "voice processing: support several sessions per input stream" into qt-dev

parents 1a32f5e7 f69b0d0f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 @@ static struct session_s *get_session(int32_t id, int32_t sessionId, int32_t io

    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;