diff options
Diffstat (limited to 'src/server/AudioBuffer.cpp')
-rw-r--r-- | src/server/AudioBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/AudioBuffer.cpp b/src/server/AudioBuffer.cpp index 0a0c6a79..fc73f9d7 100644 --- a/src/server/AudioBuffer.cpp +++ b/src/server/AudioBuffer.cpp @@ -52,7 +52,7 @@ AudioBuffer::AudioBuffer(BufferFactory& bufs, PortType type, size_t size) // Audio port / Vector of float } else { - assert(type == PortType::AUDIO); + assert(type == PortType::AUDIO || type == PortType::CV); atom()->type = 0;//map->vector_type; LV2_Atom_Vector* body = (LV2_Atom_Vector*)atom(); body->body.child_size = sizeof(Sample); |