summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/2.0/default/StreamIn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/2.0/default/StreamIn.cpp b/audio/2.0/default/StreamIn.cpp
index 0798bbea9d..e5a1a55524 100644
--- a/audio/2.0/default/StreamIn.cpp
+++ b/audio/2.0/default/StreamIn.cpp
@@ -354,7 +354,7 @@ Return<void> StreamIn::prepareForReading(
CommandMQ::Descriptor(), DataMQ::Descriptor(), StatusMQ::Descriptor(), threadInfo);
return Void();
}
- status = mReadThread->run("reader", PRIORITY_URGENT_AUDIO);
+ status = tempReadThread->run("reader", PRIORITY_URGENT_AUDIO);
if (status != OK) {
ALOGW("failed to start reader thread: %s", strerror(-status));
_hidl_cb(Result::INVALID_ARGUMENTS,