summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-11 23:40:51 +0000
committerDavid Robillard <d@drobilla.net>2012-08-11 23:40:51 +0000
commit019e71b8aed39251fd0b7596ed80162c13694d0e (patch)
tree247b58583eee53ef8dfca95698cbcd6dfdb46458 /src
parente8626702d5436c5dca23fcecee872a436b20c29e (diff)
downloadingen-019e71b8aed39251fd0b7596ed80162c13694d0e.tar.gz
ingen-019e71b8aed39251fd0b7596ed80162c13694d0e.tar.bz2
ingen-019e71b8aed39251fd0b7596ed80162c13694d0e.zip
Remove assertion.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4659 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/LV2Node.cpp10
-rw-r--r--src/server/PatchImpl.cpp2
2 files changed, 5 insertions, 7 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 8857edbb..2a8fb03d 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -92,7 +92,7 @@ LV2Node::make_instance(URIs& uris,
? port->prepared_buffer(voice).get()
: port->buffer(voice).get();
if (port->is_morph() && port->is_a(PortType::CV)) {
- Raul::info(Raul::fmt("Morphing %1% to CV\n") % port->path());
+ //Raul::info(Raul::fmt("Morphing %1% to CV\n") % port->path());
if (morph_iface) {
morph_iface->morph_port(
inst->lv2_handle, p, uris.lv2_CVPort, NULL);
@@ -116,12 +116,12 @@ LV2Node::make_instance(URIs& uris,
inst->lv2_handle, p, NULL);
if (type == _uris.lv2_ControlPort) {
port->set_type(PortType::CONTROL, 0);
- Raul::info(Raul::fmt("Auto-morphed %1% to control\n")
- % port->path());
+ /*Raul::info(Raul::fmt("Auto-morphed %1% to control\n")
+ % port->path());*/
} else if (type == _uris.lv2_CVPort) {
port->set_type(PortType::CV, 0);
- Raul::info(Raul::fmt("Auto-morphed %1% to CV\n")
- % port->path());
+ /*Raul::info(Raul::fmt("Auto-morphed %1% to CV\n")
+ % port->path());*/
} else {
Raul::error(Raul::fmt("%1% auto-morphed to unknown type %2%\n")
% port->path() % type);
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp
index d8097568..1cda21a0 100644
--- a/src/server/PatchImpl.cpp
+++ b/src/server/PatchImpl.cpp
@@ -58,8 +58,6 @@ PatchImpl::PatchImpl(Engine& engine,
PatchImpl::~PatchImpl()
{
- assert(!_activated);
-
delete _compiled_patch;
delete _plugin;
}