We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2475204 commit 1ae3703Copy full SHA for 1ae3703
examples/SendDataInChunks.cpp
@@ -1,6 +1,7 @@
1
#include <cmath>
2
#include <iostream>
3
#include <map>
4
+#include <cstring>
5
#include <lsl_cpp.h>
6
#include <thread>
7
#include <algorithm>
@@ -48,7 +49,7 @@ struct fake_device {
48
49
magnitude * static_cast<int16_t>(sin(M_PI * chan_ix * sample_ix / n_channels)));
50
}
51
- last_time = std::chrono::high_resolution_clock::now();
52
+ last_time = std::chrono::steady_clock::now();
53
54
55
std::vector<int16_t> get_data() {
0 commit comments