this manages to run at 64 buffer default period around 1.6ms of latency and its stable, but driver needs to be reloaded to get stable audio again if app ran for the second time. Need to find fix for this.
The ALSA driver properly transfers audio data to the device, using JACK with 48 samples and -n 3 gives stable lowest latency possible for it at 48khz. Future goals are stablity on resume and shutdown, MIDI, audio routing, alsa mixers and GUI tool to trigger these mixers.
Still not happy with latency logic, earlier commits managed 1.3ms at 48khz while this can only do 10.7ms. Still more room for fixing before moving to capture
Even after matching 1:1 the buffer and period sizes and overall buffer logic needs to be smarter to fix issues with latency and crashing on JACK and VSTS