COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-01-2019, 10:38 AM   #1
Niko-Sound
Human being with feelings
 
Join Date: Jun 2019
Posts: 1
Default Latency compensation when bypass (AAX and other)

Hi wdl people !

I think I've found a problem and the solution.

Steps to reproduce:
Using Protools (on Mac OS)
- open Protools and bounce without plugin inserted
- insert a plugin that makes a latency of 3072 samples
- bypass the plugin and bounce
=> the two bounces are shifted in time

Solution:
In the class NChanDelayLine, in the method ProcessBlock(), replace

signed long readAddress = mWriteAddress - mDTSamples;

by

signed long readAddress = mWriteAddress + 1;

The problem should be here for other formats that use a delay line when the plugin is bypassed.
It seems that if the plugin latency is 2048 samples for example, there is no such problem.

Hope this helps

Nicolas
Niko-Sound is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.