Mercurial > hg > piper-cpp
diff vamp-client/qt/AutoPlugin.h @ 193:bc35e19f3345
Merge branch 'master' of https://github.com/piper-audio/piper-cpp into test/plugin-stub-configured-framing
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 07 Feb 2017 16:35:32 +0000 |
parents | 52322dde68ea |
children | ad6025dc0b04 61034472c304 |
line wrap: on
line diff
--- a/vamp-client/qt/AutoPlugin.h Tue Feb 07 16:35:16 2017 +0000 +++ b/vamp-client/qt/AutoPlugin.h Tue Feb 07 16:35:32 2017 +0000 @@ -138,14 +138,7 @@ virtual bool initialise(size_t inputChannels, size_t stepSize, size_t blockSize) { - try { - return getPlugin()->initialise(inputChannels, stepSize, blockSize); - } catch (const ServiceError &e) { - // Sadly, the Vamp API has taught hosts to try to divine - // initialisation problems from a bool return value alone - log(std::string("AutoPlugin: initialise failed: ") + e.what()); - return false; - } + return getPlugin()->initialise(inputChannels, stepSize, blockSize); } virtual void reset() {