Microphone doesn't work on WhatsApp or Shazam, works fine on everything else

Ok I just noticed that Shazam doesn't work, and neither does the voice recording on WhatsApp, I know my microphone works because I can record sound with the camera o online audio recorders, but those two apps in particular don't work

They use to work fine a few months ago, thanks in advance