summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Buffer.cpp')
-rw-r--r--src/server/Buffer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index 2c990c02..38a27fa8 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -16,7 +16,6 @@
#define __STDC_LIMIT_MACROS 1
-#include <assert.h>
#include <math.h>
#include <new>
#include <stdint.h>
@@ -128,7 +127,6 @@ Buffer::port_data(PortType port_type)
case PortType::CONTROL:
case PortType::CV:
case PortType::AUDIO:
- assert(_atom->type == _type);
if (_atom->type == _factory.uris().atom_Float) {
return (float*)LV2_ATOM_BODY(_atom);
} else if (_atom->type == _factory.uris().atom_Sound) {