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

audiolayer: don't lock in putUrgent

RingBuffer has its own mutex. This avoids potential deadlocks.

Change-Id: I93175aafe9fbb3f927da28124a7d42e61585523d
parent 3b998345
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,6 @@ AudioLayer::checkAEC()
void
AudioLayer::putUrgent(AudioBuffer& buffer)
{
std::lock_guard<std::mutex> lock(mutex_);
urgentRingBuffer_.put(buffer.toAVFrame());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment