Output not working for some unknown reason

I tried to do a radio check today, And the controller couldn’t hear anything because the sounds were static. I had already assigned a PTT button, aListening device and an output device. I tried to fix the problem by redoing my settings, But still nothing works, I sat there and tried to figure it out for almost 30 minutes. And keep in mind that my headset worked with Xpilot and nothing is worng with it, I can talk on whatsapp for example issue-free. If someone were to know what the problem is, Please reach out to me.