I'm building an application on Scientific Linux 6.3 (x86_64) and playback on three separate boxes has been sounding like it has buffering issues. Depending on the audio buffer size, it sounds like gaps inserted into the audio do varying degrees, so it ranges from sounding buzzy to ~200ms gaps.
So to take my code out of the picture, I am running the Juce demo and getting the same results. I've tried this on Windows and I only hear a problem when I make the audio buffer size small enough (e.g. 352 samples @ 44.1KHz). But on the Linux systems (which are based on Red Hat code) I get noisy playback for much larger buffer sizes.
The device type is ALSA. If I go with the "default" device, things are better but choppy. If I pick a different device, things are worse. Very variable results too...sometimes I fire up the demo and it sounds clean at 44.1K and 512 sample buffers. Other times it's pops and clicks. Other times worse.
Any hints would be appreciated.