How to provide latency compensation in IPlugConvoEngine, with a IR in which the peak is in the center?
Such IR is used here:
The pulse peak is located in the center, for example, at 1024 samples, respectively, the total pulse length is 2048 samples.
In method
Code:
int SetImpulse(WDL_ImpulseBuffer* impulse, int maxfft_size = 0, int known_blocksize = 0, int max_imp_size = 0, int impulse_offset = 0, int latency_allowed = 0);
There are a lot of default parameters, and I got confused about what and where to specify to compensate for the delay of this IR, given that I did not find a reference manual for this method.
Please help me figure out a solution to this problem.