1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST wrapper getTailSize implementation.

This commit is contained in:
jules 2013-03-04 09:30:48 +00:00
parent 5c28d5b214
commit dbfcdf1bce

View file

@ -460,6 +460,14 @@ public:
return true;
}
VstInt32 getGetTailSize()
{
if (filter != nullptr)
return (VstInt32) (filter->getTailLengthSeconds() * getSampleRate());
return 0;
}
//==============================================================================
VstInt32 processEvents (VstEvents* events)
{