summaryrefslogtreecommitdiffstats
path: root/src/engine/Buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Buffer.cpp')
-rw-r--r--src/engine/Buffer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/Buffer.cpp b/src/engine/Buffer.cpp
index 14d97314..65e46736 100644
--- a/src/engine/Buffer.cpp
+++ b/src/engine/Buffer.cpp
@@ -17,7 +17,7 @@
#include "AudioBuffer.hpp"
#include "EventBuffer.hpp"
-#include "StringBuffer.hpp"
+#include "ObjectBuffer.hpp"
namespace Ingen {
@@ -30,10 +30,10 @@ Buffer::create(DataType type, size_t size)
return new AudioBuffer(1);
else if (type.is_audio())
return new AudioBuffer(size);
- else if (type.is_event())
+ else if (type.is_events())
return new EventBuffer(size);
- else if (type.is_string())
- return new StringBuffer(size);
+ else if (type.is_object())
+ return new ObjectBuffer(size);
else
throw;
}