Commit e55d97e2 authored by aringot's avatar aringot

Reduced CPU usage / battery consumption (setSustainedPerformance to false)

parent e405ce70
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment