If you have “choppy” audio in Gnome on FreeBSD, it’s likely caused by PulseAudio. My definition of choppy audio is where you get very brief gaps of silence as you play audio – a sort of slow crackle.
As root, edit the file /usr/local/etc/pulse/daemon.conf and go to the bottom of the file. There are 2 lines currently hashed out, modify them to read:
default-fragments = 8
default-fragment-size-msec = 5
then you need to restart pulseaudio. As the username you have logged into Gnome with (not root!), type:
/usr/local/bin/pulseaudio –kill
This should sort things for you (or at least, it did for me)
Thanks for posting this fix. It fixed the stuttery sound I was getting in firefox-pulse port. Saved me a lot of time.
Dan,
Thank you for keeping this page up. Here is it 2021 and I was the fix I needed for Pulse under XFCE on my thinkpad. Recently XFCE has moved to only supporting Pulse and my sound broke.
Cheers