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

Skip to content
Commit 5ab96832 authored by luca020400's avatar luca020400
Browse files

Fix high quality recorder

The current threading model was completely wrong.

A semaphore was used to lock the thread externally,
this should never be attempted, the correct way to block a thread is
to make it do nothing, in our case if we read 0 bytes from the
audio record

Also fix a potential deadlock in stopRecording by
waiting at most 1 second after stopping the thread

Change-Id: I61448185a8fee4287caf69f0c2a1d34b1517c367
parent 540b4719
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment