Talking in game with microphone

I was playing yesterday night and I went to some people and I tried talking to them but the microphone didn’t see to work in game. I tested to see if it was the microphone and it wasn’t that the problem. I talked to someone in skype to see if works and it did work fine . Any suggestions to fix this problem in game ?