summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/BufferFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/BufferFactory.cpp')
-rw-r--r--src/libs/engine/BufferFactory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/engine/BufferFactory.cpp b/src/libs/engine/BufferFactory.cpp
index f2761f08..48db9261 100644
--- a/src/libs/engine/BufferFactory.cpp
+++ b/src/libs/engine/BufferFactory.cpp
@@ -18,6 +18,7 @@
#include "BufferFactory.h"
#include "AudioBuffer.h"
#include "MidiBuffer.h"
+#include "OSCBuffer.h"
namespace Ingen {
namespace BufferFactory {
@@ -30,6 +31,8 @@ create(DataType type, size_t size)
return new AudioBuffer(size);
else if (type == DataType::MIDI)
return new MidiBuffer(size);
+ else if (type == DataType::OSC)
+ return new OSCBuffer(size);
else
return NULL;
}