Exclusive mode on Mac, users still waiting for a fix
Apple Music for MacOS doesn’t have an exclusive mode like iOS does, and other streaming apps like Tidal and Amazon Music on macOS. So for Apple Music, the audio output format is set in Audio MIDI Setup in macOS. But this is set so, if you pick 16/44 but play a 24/96 song, it will downsample it on macOS.
Changing Audio MIDI Setup for each song is impossible.
Plug ins and doohickies for macOS that kind of do this, just do not work as well as an exclusive mode does. Exclusive mode just, does it. For each song. The end.
This has been an issue for Music on Macs for years now. Really, the best solution is for Apple to fix it.
So be sure to let Apple know on the Feedback page. Feedback - Apple Music - Apple
Please note that Apple also calls this Community a place for discussions to learn more about aspects of Apple products and services. I post this in that context, not asking for an answer, but providing insight. For which, right now, there are none.
But do let Apple know in Feedback that you want Apple Music songs to play on macOS at the song's highest quality, automatically. Just like iOS does.
iMac (M1, 2021)