Game Freezes while voice chatting

My game freezes on Darkrp or TTT when i use the mic. I have a lenovo y510p laptop and razer kraken pros. However, the game doesnt freeze if in in a steam voice call…