You can check the privacy option from the settings and go to app permissions. You can grant permissions regarding which app can use the microphone.