Display and control your Android device
Decrease recorder thread priority
Romain Vimont408f45863617
diff --git a/app/src/recorder.c b/app/src/recorder.cindex af5fe510..572d3e24 100644--- a/app/src/recorder.c+++ b/app/src/recorder.c@@ -505,6 +505,10 @@ static intrun_recorder(void *data) {struct sc_recorder *recorder = data;+ // Recording is a background task+ bool ok = sc_thread_set_priority(SC_THREAD_PRIORITY_LOW);+ (void) ok; // We don't care if it worked+bool success = sc_recorder_record(recorder);sc_mutex_lock(&recorder->mutex);