Here are my settings (I uses lms-to-upnp but it works the same way)
Ignore the Harmony settings, I use a harmony bridge to enable the remote volume control in Roon using a Harmony IT Bridge device.
The important setting is to turn off FLAC compression. With this set to on Roon will send FLAC rather than PCM.

