Details in Raspberry Pi -- replace Shairport with piCorePlayer
If you are getting drop outs with FLAC files, check your network for speed and bad hardware. WiFi can be dodge especially if there are other devices using it. I had to replace a switch when I first got going on Roon because it would messed up the network traffic. No problems since installing a new one.