Skip to content

Commit

Permalink
Remove callback to estimate sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Aug 25, 2021
1 parent 4a9ad2e commit 079053b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/EphysSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ bool EphysSocket::startAcquisition()

total_samples = 0;

startTimer(5000);
//startTimer(5000);

startThread();
return true;
Expand Down Expand Up @@ -130,7 +130,7 @@ bool EphysSocket::stopAcquisition()

waitForThreadToExit(500);

stopTimer();
//stopTimer();

sourceBuffers[0]->clear();
return true;
Expand Down Expand Up @@ -181,5 +181,5 @@ void EphysSocket::timerCallback()

relative_sample_rate = (sample_rate * 5) / float(total_samples);

total_samples = 0;
//total_samples = 0;
}

0 comments on commit 079053b

Please sign in to comment.