Skip to content
Snippets Groups Projects
Commit 1261c039 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

opensl: reverse init condition

Change-Id: If194ae1f58e2d7ffb14862135a420054d9268e76
parent 060b1fc6
Branches
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ void
OpenSLLayer::startStream(AudioDeviceType stream)
{
using namespace std::placeholders;
if (engineObject_)
if (!engineObject_)
initAudioEngine();
std::lock_guard<std::mutex> lock(mutex_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment