summaryrefslogtreecommitdiff
path: root/libs/audiographer/audiographer/general/sample_format_converter.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/sample_format_converter.h
parent5b2a5d77b8160c745553eb85c47a211067eea90d (diff)
add export control with -fvisibility=hidden to audiographer
Diffstat (limited to 'libs/audiographer/audiographer/general/sample_format_converter.h')
-rw-r--r--libs/audiographer/audiographer/general/sample_format_converter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/audiographer/audiographer/general/sample_format_converter.h b/libs/audiographer/audiographer/general/sample_format_converter.h
index a200f37825..62500d42dc 100644
--- a/libs/audiographer/audiographer/general/sample_format_converter.h
+++ b/libs/audiographer/audiographer/general/sample_format_converter.h
@@ -1,6 +1,7 @@
#ifndef AUDIOGRAPHER_SAMPLE_FORMAT_CONVERTER_H
#define AUDIOGRAPHER_SAMPLE_FORMAT_CONVERTER_H
+#include "audiographer/visibility.h"
#include "audiographer/sink.h"
#include "audiographer/utils/listed_source.h"
#include "private/gdither/gdither_types.h"
@@ -9,7 +10,7 @@ namespace AudioGrapher
{
/// Dither types from the gdither library
-enum DitherType
+enum LIBAUDIOGRAPHER_API DitherType
{
D_None = GDitherNone, ///< No didtering
D_Rect = GDitherRect, ///< Rectangular dithering, i.e. white noise
@@ -21,7 +22,7 @@ enum DitherType
* This class can only convert floats to either \a float, \a int32_t, \a int16_t, or \a uint8_t
*/
template <typename TOut>
-class SampleFormatConverter
+class LIBAUDIOGRAPHER_API SampleFormatConverter
: public Sink<float>
, public ListedSource<TOut>
, public Throwing<>