If you find that the music stops and starts, then you are probably using the built-in wifi (Do not) use a cable.
If you do not want it, or have no other options, try the following:
https://github.com/mikebrady/shairport-sync/blob/master/TROUBLESHOOTING.md
sudo nano...