diff options
author | David Robillard <d@drobilla.net> | 2012-08-20 23:11:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-20 23:11:39 +0000 |
commit | 08b62fe47b81117c17cbd7b08210b0a91d104126 (patch) | |
tree | 2d21c4f250a6c160686a9ea4fa47ac1132391905 /src/server/InternalPlugin.cpp | |
parent | e7e8876464377e3c222e15783c39af7e411a44a3 (diff) | |
download | ingen-08b62fe47b81117c17cbd7b08210b0a91d104126.tar.gz ingen-08b62fe47b81117c17cbd7b08210b0a91d104126.tar.bz2 ingen-08b62fe47b81117c17cbd7b08210b0a91d104126.zip |
Replace several assertions with graceful error handling.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4731 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InternalPlugin.cpp')
-rw-r--r-- | src/server/InternalPlugin.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/server/InternalPlugin.cpp b/src/server/InternalPlugin.cpp index 39e32580..60d3d1a7 100644 --- a/src/server/InternalPlugin.cpp +++ b/src/server/InternalPlugin.cpp @@ -14,8 +14,6 @@ along with Ingen. If not, see <http://www.gnu.org/licenses/>. */ -#include <cassert> - #include "ingen/URIs.hpp" #include "internals/Controller.hpp" #include "internals/Delay.hpp" @@ -49,8 +47,6 @@ InternalPlugin::instantiate(BufferFactory& bufs, GraphImpl* parent, Engine& engine) { - assert(_type == Internal); - const SampleCount srate = engine.driver()->sample_rate(); if (uri() == NS_INTERNALS "Controller") { |