Just upgraded to Zorin OS 18 today and had to make some tweaks to get my desktop DAC to output audio at the correct bitrate. I won't pretend I can hear the difference, but there is a little light on the DAC that tells me what the sampling rate of the output is and I want it at 192.
I don't know anything about Pipewire so I had an AI walk me through this, but I wanted to post it here in case there is anything wrong with these settings that needs to be fixed or if it helps anyone else. The sound is working, sample rate is at 192 on the DAC.
I have a Fosi Audio SK02, so created this file here:
nano ~/.config/wireplumber/main.lua.d/51-sk02-rate.lua
And then added the following contents:
rule = {
matches = {
{
{ "node.name", "equals", "alsa_output.usb-Speed_Dragon_Fosi_Audio_SK02-01.analog-stereo" },
},
},
apply_properties = {
["audio.format"] = "S32LE",
["audio.rate"] = 192000,
["audio.allowed-rates"] = "44100,48000,88200,96000,176400,192000",
},
}
table.insert(alsa_monitor.rules, rule)
And then restarted WirePlumber with:
systemctl --user restart wireplumber
Before that I had a few false starts with editing .conf files for pipewire, but it looks like wireplumber is the way to go in Zorin 18.