ALC662 audio card causes underruns and overruns


I have a flow graph that receives, demodulates and filters a signal
sending it to the audio card. It’s been working in a single board,
core, computer with an audio card ALC888 for months. I occasionally had
underrun messages, specially when changing filter parameters. This
were normally less than 10 and very spread, about every 30 seconds. It
didn’t cause any noticeable noise or problems.

Recently I moved to a better computer with better CPU, 4 cores and a
audio card. The Python script works fine, with no visible bottlenecks in
the processor. However, I now get constant overruns and underruns
making the audio noisy.
The audio card is able to work correctly when using the speaker-test
command so, there isn’t a fault in the hardware. It’s also capable of
running at the required sample rate.

Is there any test I could make to understand and fix this issue? Has
had a bad experience using this audio card with GnuRadio?


Make sure you’re using ‘plughw:’ for the audio device so the driver does
resampling (check ALSA docs). Without looking at the flowgraph, I’d
guess this is a clock domain problem and your new computer (and audio
card) clocks are somehow different than your old ones.

Also make sure that the ALC662 also supports the audio sampling rate
you’re using – 44100 is the only rate I’ve been able to use on any
platform [1].

Best regards,


Thank you for your suggestions.
The card supports 96 KHz and I’m using hw. I’ll try to use plughw.
I’ve solved this problem upgrading to the latest kernel in 12.04 which


Wow, 12.04 (though still supported by GNU Radio!) feels ancient. Any
particular reason you stick with that?