Compensating between tracks recorded through Analog and Digital inputs
Trying to utilize both analog and digital inputs on your sound interface might bring delay between the two tracks. I investigate here this issue and found 30 samples delay from the S/PDIF input. The tutorial works on finding and compensating for that delay.
Test was made in Ableton Live and Pro Tools