summaryrefslogtreecommitdiff
path: root/libs/ardour/audio_unit.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-15 22:23:16 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-15 22:23:16 -0400
commit9cb678ebcc2ca0c7993bdd182c9e6ad1f8adf09a (patch)
tree9a98d4e9bceb8845a759c79007c983af4fc420c7 /libs/ardour/audio_unit.cc
parent90f5eb4a31bebeb315d4c36f20b1aefe110657d0 (diff)
finally get to the bottom of where NO_PLUGIN_STATE needs to be in order to be useful
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r--libs/ardour/audio_unit.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc
index 0e9a11e6df..20a55e49f9 100644
--- a/libs/ardour/audio_unit.cc
+++ b/libs/ardour/audio_unit.cc
@@ -1717,6 +1717,7 @@ AUPlugin::set_state(const XMLNode& node, int version)
return -1;
}
+#ifndef NO_PLUGIN_STATE
if (node.children().empty()) {
return -1;
}
@@ -1752,6 +1753,7 @@ AUPlugin::set_state(const XMLNode& node, int version)
}
CFRelease (propertyList);
}
+#endif
Plugin::set_state (node, version);
return ret;