It's an old bug, I had it in Redmi 1S and Redmi 3, and it seems to affect even modern Xiaomi phones... Xiaomi doesn't care, xiaomi.eu doesn't care, nobody seems to care about audio quality. It should be an easy fix, and there are workarounds for some devices on the web.