IAudioProcessor::getTailSamples and getLatencySamples

SDK for VST 3 audio plug-in and host development.
Post Reply
trev
Posts: 2
Joined: Fri Jul 10, 2020 1:01 pm

IAudioProcessor::getTailSamples and getLatencySamples

Post by trev »

Hi all!

Let's say, for example, I'm developing an implementation of IAudioProcessor. In this hypothetical case the processing algorithm incurs a latency of 512 samples due to some short look-ahead, but even without considering this look-ahead there's a natural tail of 1024 samples from the DSP.

It's clear that getLatencySamples, in my case, should return 512. However, what should getTailSamples return? 1024, or 1024 + 512?

Many thanks in advance for any insights!

Arne Scheffler
Posts: 354
Joined: Mon Jun 20, 2016 7:53 am

Re: IAudioProcessor::getTailSamples and getLatencySamples

Post by Arne Scheffler »

Hi,
you just return the tail samples without the latency samples.

Cheers,
Arne

trev
Posts: 2
Joined: Fri Jul 10, 2020 1:01 pm

Re: IAudioProcessor::getTailSamples and getLatencySamples

Post by trev »

Thanks, Arne!

Post Reply