Gmediarender only streams 16bit

When streaming from JRiver to gmrender, the Alsa output stream information always shows the format S16_LE, even if playing 24bit files. I have tried to force everything to be converted to 24bit PCM in the JRiver DLNA server settings. I’ve also tried to change all the settings I could find in the dietpi configuration, but haven’t found a way to fix this.

On the other hand, when using Roon, everything is played back at 24bit, even 16bit files.

Any help would be very much appreciated!