Hi, Himanhsu,
Thanks for visiting the Apple Support Communities. We understand that the audio volume and quality while using Apple Music is not what you expect. We are happy to help!
To get started, we'd suggest taking a look through the information below from About lossless audio in Apple Music - Apple Support to make sure you are set up as expected with lossless audio compatible equipment:
"How to listen to lossless on your Mac
What you need
You can listen to lossless on a Mac updated to the latest version of macOS using:
- A wired connection to headphones, receivers, or powered speakers
- The built-in speakers
- 14-inch MacBook Pro and 16-inch MacBook Pro support native playback of songs at sample rates up to 96 kHz.
- To listen to songs at sample rates higher than 48 kHz on other Mac computers, you need an external digital-to-analog converter."
You've mentioned that the issue appears while using a DAC and amp to listen to lossless audio, and also while using headphones connected to built-in headphone jack. If you have not already, see if it continues using the MacBook Pro's built-in speakers next.
Don't hesitate to respond back if you need more help.
Cheers!