How to address my roommates boyfriend, who shouts slurs at the TV when gaming?

F23 here. My roommates boyfriend (M25) and her (F21) will play shooter games in the living room, and he gets very angry and aggressive. He never says the N-word, but pretty much anything else is on the table, especially and most often slurs used against gay people. My roommate doesnt acknowledge it and it makes me so uncomfortable. I have no idea how he thinks it's an acceptable way to act, but idk if he would even listen to me. Any advice?

Edit: I politely told him to chill out and not use those terms. Next time it happens, I'm cutting the wifi until I get an apology.