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:
parent
1107638f1e
commit
d65efedc54
1 changed files with 3 additions and 1 deletions
4
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp
Normal file → Executable file
4
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp
Normal file → Executable 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue