Sound compression is on despite volume leveling being switched off in Windows 10
Solution 1:
To solve your immediate problem; remove all RealTek software and drivers from the computer. Use driver sweeper to remove all RealTek related stuff. https://www.guru3d.com/content-page/guru3d-driver-sweeper.html
Then try with the default Microsoft driver that is installed after all the reboots. If you are still having trouble, try installing an older version of the driver software from your motherboard support page.
Ultimately, if you are using your computer to listen to music then I would recommend an external audio device (DAC). There are many benefits from physical to software. You don't have to spend a lot to get a better experience. If you get a nice external audio device you can keep it forever, moving it between PCs as you upgrade. New ones come with USB-C so they will be relevant for a long time.
Solution 2:
This might help:
- In Device Manager right-click the Realtek audio device
- Select Update Driver Software
- Click Browse my computer for driver software
- Click Let me pick from a list of device drivers on my computer
- Look for "High Definition Audio Device"
- Select this driver and continue answering prompts
- Reboot.