Linux re-tweak

This commit is contained in:
Charles J. Cliffe
2015-08-13 20:39:31 -04:00
parent b1f20de0e9
commit e04b12662f
4 changed files with 20 additions and 6 deletions
+3
View File
@@ -17,6 +17,7 @@ void ScopeVisualProcessor::process() {
return;
}
audioInputData->busy_update.lock();
ScopeRenderData *renderData = outputBuffers.getBuffer();
renderData->channels = audioInputData->channels;
@@ -44,6 +45,8 @@ void ScopeVisualProcessor::process() {
renderData->waveform_points[i * 2 + 1] = audioInputData->data[i] / peak;
}
}
distribute(renderData);
audioInputData->busy_update.unlock();
}
}