1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Fix bug when building VST hosts in Release mode

This commit is contained in:
hogliux 2015-11-03 17:36:14 +00:00
parent 1107638f1e
commit d65efedc54

View file

@ -944,7 +944,9 @@ public:
// if you get an assertion here then your plug-in claims it supports double precision
// but returns an error when we try to change the precision
jassert (dispatch (effSetProcessPrecision, 0, (VstIntPtr) vstPrecision, 0, 0) > 0);
VstIntPtr err = dispatch (effSetProcessPrecision, 0, (VstIntPtr) vstPrecision, 0, 0);
jassert (err > 0);
ignoreUnused (err);
}
tempBuffer.setSize (jmax (1, effect->numOutputs), samplesPerBlockExpected);