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:
parent
5c28d5b214
commit
dbfcdf1bce
1 changed files with 8 additions and 0 deletions
|
|
@ -460,6 +460,14 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
VstInt32 getGetTailSize()
|
||||
{
|
||||
if (filter != nullptr)
|
||||
return (VstInt32) (filter->getTailLengthSeconds() * getSampleRate());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
VstInt32 processEvents (VstEvents* events)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue