Setting up Ardour on a MacBook Pro M3 I ran into a weird situation with latency compensation.
I am using a Focusrite Clarett+ 8Pre audio interface for audio and midi.
When measuring the systemic latency with the Ardour tool the outcome is a negative latency. I used 44100 Hz sample rate with a 256 sample buffer. The results are similar with different buffer sizes as well.
Detected roundtrip latency: 768 samples (17.415 ms)
Systemic latency: -27 samples (-0.612 ms)
Trying this out in a session seems to give similar results: Routing audio from one Ardour track to a hardware output and back to a hardware input and recording it results in the recording appearing about 35 samples ahead of the original track.
On the MIDI side things look a bit more normal - routing a track via hardware midi out back to midi in places the recording 68 samples behind the original.
It seems that this is a case of overcompensating the latency by osx and the issue is not exactly new.
https://discourse.ardour.org/t/latency-how-to-solve-over-correction/88259
Are there any new workarounds for this since the old topic from 2018?