Turn off the Galaxy S6 or Galaxy S6 Edge, remove the SIM card and then reinsert the SIM card on turn on the smartphone. Dirt, debris and dust could be stuck in the microphone, try cleaning the microphone with compressed air and check to see if the Galaxy S6 audio problem is fixed.