summaryrefslogtreecommitdiff
path: root/libs/audiographer/audiographer/general/threader.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-10-17 15:37:11 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-10-17 15:37:11 -0400
commita2d55d088ad0d3da829fd94151ec9adc2b19cf60 (patch)
tree0864b95ec009a6e7dc054caaceb88ff2d062cad0 /libs/audiographer/audiographer/general/threader.h
parent5b2a5d77b8160c745553eb85c47a211067eea90d (diff)
add export control with -fvisibility=hidden to audiographer
Diffstat (limited to 'libs/audiographer/audiographer/general/threader.h')
-rw-r--r--libs/audiographer/audiographer/general/threader.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/audiographer/audiographer/general/threader.h b/libs/audiographer/audiographer/general/threader.h
index d1e11c00e1..98c6145ee9 100644
--- a/libs/audiographer/audiographer/general/threader.h
+++ b/libs/audiographer/audiographer/general/threader.h
@@ -10,6 +10,7 @@
#include <vector>
#include <algorithm>
+#include "audiographer/visibility.h"
#include "audiographer/source.h"
#include "audiographer/sink.h"
#include "audiographer/exception.h"
@@ -18,7 +19,7 @@ namespace AudioGrapher
{
/// Class that stores exceptions thrown from different threads
-class ThreaderException : public Exception
+class LIBAUDIOGRAPHER_API ThreaderException : public Exception
{
public:
template<typename T>
@@ -32,7 +33,7 @@ class ThreaderException : public Exception
/// Class for distributing processing across several threads
template <typename T = DefaultSampleType>
-class Threader : public Source<T>, public Sink<T>
+class LIBAUDIOGRAPHER_API Threader : public Source<T>, public Sink<T>
{
private:
typedef std::vector<typename Source<T>::SinkPtr> OutputVec;