You can configure Linux to auto-select correct sample rate based on source file. I’m pretty sure PipeWire (Linux’s audio system) will always use 24bit bit depth if your hardware supports, there’s no point switching it. Not sure if there are graphical setting apps for setting up dynamic sample rate, but here’s a guide how to set it up with config file (don’t worry about it being Arch Wiki article): https://wiki.archlinux.org/title/PipeWire#Changing_the_allowed_sample_rate(s)
You can configure Linux to auto-select correct sample rate based on source file. I’m pretty sure PipeWire (Linux’s audio system) will always use 24bit bit depth if your hardware supports, there’s no point switching it. Not sure if there are graphical setting apps for setting up dynamic sample rate, but here’s a guide how to set it up with config file (don’t worry about it being Arch Wiki article): https://wiki.archlinux.org/title/PipeWire#Changing_the_allowed_sample_rate(s)