Choppy audio when using VLC-telnet media player

Hi, I’ve been trying for a long time to make my Home Assistant play audio on my speakers, but I’m not able to get it to work.

I run HA Supervised on my old PC and I attached a USB sound card to it (Creative Sound Blaster PLAY!3). Since Home Assistant doesn’t automatically recognize it as a media player, I installed a VLC add-on which is supposed to expose this USB sound card as a media player in Home Assistant. Then HA automatically recognized the VLC-telnet player and added an integration for it.

My problem is when I start playing any audio through the VLC-telnet media player. The sound is chopped and stutters every 0.5 second.

I was trying to get help from ChatGPT, and it suggested setting the default profile for my audio device to "output:analog-stereo“. I did that, but it didn’t help. Then it suggested running “speaker-test -c 2” to test sound output, and it worked fine. So ChatGPT suggested that everything is fine with my hardware and that it is a configuration issue.

Did anyone experience the same problem and have any idea on how I can solve this?