Thanks for the script. I've looked at it but not yet tried running with it - very busy here! Only comment so far is that unconditionally disabling WiFi may be a problem for some users. I know a few users who have to use WiFi as it's not practical to run a cable. My tests so far suggest that it's ok if there is nothing else on the WiFi. I'll reply properly when I've had a chance to test.
Yes, I'm using a UMC404HD external interface, so that may well be part of the problem. Also, I forgot to mention in my previous post that the audio drop-outs were always with multiple XRUNs, so that all makes sense. I've not tested this, but I think the problem was less when using the internal sound, so again it all makes sense. I did wonder what other services are running that are not needed, so would be interested to see what you're working on. Thanks for your rapid reply. I have some other thoughts...
I've been suffering complete audio drop-outs too - I'd guess maximum 5 seconds or so. This is both with JamulusOS on USB stick, and also with Mint19.3 (PulseAudio disabled) on same laptop (Lenovo L440). Today I did some testing, and seem to have a solution. I've changed the Periods/Buffer value from 2 to 3, and it now seems fine. I then changed Frames/Period from 128 to 64, and it's still fine and less latency. So for me at least this seems like a solution.
Is there a download link for this? I can't find it available anywhere.