I send the phone to Xiaomi and they changed something in the motherboard for free. Actually it wasn't a problem with the microphone. All expenses were covered by the warranty.
Hello everyone, same problem here. I haven't tried factory reset because I read that is not working! I tried to change the microphone but the problem still remains. Did anyone solve the problem? I am thinking of sending the phone to Xiaomi to check the problem.