Recently spent some time optimizing #roctoolkit latency over Ethernet.
So far, achieved 7ms for transport + 12ms for two USB sound cards.
This is the photo of my test bench for measurements.
Legend: R1, R2 - #raspberrypi; S0, S1, S2 - sound cards; L1, L3 - jack cables; L2 - ethernet cable.
Roc runs on R1 and R2 and streams sound from S1 to S2.
On PC, I run #signalestimator that writes sound to S0 output, reads it back from S0 input, and measures latency.
#roctoolkit #raspberrypi #signalestimator #linuxaudio #audioprogramming
#signalestimator got support for correlation-based latency measurement, which is very reliable and precise.
Thanks Mike (https://github.com/baranovmv) for implementing it and Samuel Blum at ViveSound (https://www.vivesound.com/) for sponsoring development!