waterfall jitter and general refresh improvements

This commit is contained in:
Charles J. Cliffe
2015-09-08 21:32:15 -04:00
parent ed2dd5e5d4
commit 11121d8a0e
10 changed files with 57 additions and 13 deletions
+3 -2
View File
@@ -37,7 +37,8 @@ void FFTVisualDataThread::run() {
while(!terminated) {
std::this_thread::sleep_for(std::chrono::milliseconds(1));
std::this_thread::sleep_for(std::chrono::milliseconds(10));
// std::this_thread::yield();
int fftSize = wproc.getDesiredInputSize();
@@ -49,7 +50,7 @@ void FFTVisualDataThread::run() {
if (lpsChanged.load()) {
fftDistrib.setLinesPerSecond(linesPerSecond.load());
pipeIQDataIn->set_max_num_items(linesPerSecond.load());
// pipeIQDataIn->set_max_num_items(linesPerSecond.load());
lpsChanged.store(false);
}
+2 -1
View File
@@ -16,7 +16,8 @@ void SpectrumVisualDataThread::run() {
std::cout << "Spectrum visual data thread started." << std::endl;
while(!terminated) {
std::this_thread::sleep_for(std::chrono::milliseconds(1));
std::this_thread::sleep_for(std::chrono::milliseconds(10));
// std::this_thread::yield();
sproc.run();
}