It's in the controller app for Sonos, under the line-in settings. You should see somewhere (I'm not at home to check) in that area the ability to switch the line-in data from "uncompressed" to "compressed".
From what I've seen of the Sonos folks around here, it seems to be connected in some way to the quality of the signal in your home. i.e. if there's a certain level of wifi interference, it can cause problems. Unfortunately, that "certain level" is indefinite in my mind. So perhaps it might be worth reading through the
wifi interference FAQ for some tips that *might* help....
At the end of the day, though, it's probably best if you were to
submit a system diagnostic within 10 minutes of having a dropout, and either post the number here, or
call Sonos to discuss it. There may be information included in the diagnostic that will help Sonos pinpoint the issue and help you find a solution. And being on the phone probably gives them some additional access to things such as remote desktop that might help them see more information on your system.
i.e. my suggestion is a wild guess. 🙂