From d5a514148bec58cd7e97d032259362b2e19c0e95 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Jan 2010 01:43:54 +0000 Subject: Magic MIDI binding via special ingen_control port. Always set lv2:minimum and lv2:maximum properties for control ports so they show up in properties dialog (and can be used for MIDI binding). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2391 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/BufferFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/BufferFactory.cpp') diff --git a/src/engine/BufferFactory.cpp b/src/engine/BufferFactory.cpp index 86862ef8..87caa2af 100644 --- a/src/engine/BufferFactory.cpp +++ b/src/engine/BufferFactory.cpp @@ -80,7 +80,7 @@ BufferFactory::get(Shared::PortType type, size_t size, bool force_create) BufferFactory::Ref BufferFactory::create(Shared::PortType type, size_t size) { - assert(ThreadManager::current_thread_id() != THREAD_PROCESS); + ThreadManager::assert_not_thread(THREAD_PROCESS); Buffer* buffer = NULL; -- cgit v1.2.1