Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ofxLSLReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class BaseReceiver : public ofThread {
void run();
virtual void pull() = 0;

atomic<bool> active;
std::atomic<bool> active;
std::mutex runMutex;
std::unique_ptr<std::thread> pullThread;
std::condition_variable pullSignal;
Expand All @@ -42,7 +42,7 @@ class BaseReceiver : public ofThread {
std::string sourceId;
std::shared_ptr<lsl::stream_inlet> inlet;

atomic<int> sampleCapacity;
std::atomic<int> sampleCapacity;
};


Expand Down
4 changes: 2 additions & 2 deletions src/ofxLSLResolver.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#include "ofxLSLResolver.h"
#include "ofxLSLResolver.h"

using namespace lsl;
using namespace ofxLSL;


Resolver::Resolver() {
running = true;
resolver = make_unique<continuous_resolver>();
resolver = std::make_unique<continuous_resolver>();
auto libMajor = library_version() / 100;
auto libMinor = library_version() % 100;
auto protMajor = lsl_protocol_version() / 100;
Expand Down
4 changes: 2 additions & 2 deletions src/ofxLSLResolver.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once
#pragma once

#include "lsl_cpp.h"
#include "ofLog.h"
Expand Down Expand Up @@ -38,7 +38,7 @@ class Resolver {

bool isEqual(stream_info _infoA, stream_info _infoB);

atomic<bool> running;
std::atomic<bool> running;
std::unique_ptr<std::thread> runThread;
std::condition_variable runSignal;
std::mutex runMutex;
Expand Down