Skip to content
Snippets Groups Projects
Commit e55d97e2 authored by aringot's avatar aringot
Browse files

Reduced CPU usage / battery consumption (setSustainedPerformance to false)

parent e405ce70
No related branches found
No related tags found
No related merge requests found
......@@ -430,7 +430,7 @@ static void initFrequencyDomain(jint sampleRateJava, jint bufferSizeSmplJava) {
normalizedSpectrogram.resize(normalizedSpectrogramSize);
currentBackgroundModel.resize(normalizedSpectrogramSize);
SuperpoweredCPU::setSustainedPerformanceMode(true);
SuperpoweredCPU::setSustainedPerformanceMode(false);
}
static int pauseIO() {
......
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