[LAU] Endlessly-stuttttttttttttttttering ALSA audio

Ken Restivo ken at restivo.org
Fri Oct 26 08:02:54 UTC 2012


On Fri, Oct 26, 2012 at 08:35:00AM +0200, Clemens Ladisch wrote:
> Ken Restivo wrote:
> > I've heard audio stutter briefly on machines, usually under heavy CPU
> > load, but what could be causing it to stutter endlessly (until the
> > application quits), on one frame with low/no load?
> 
> The software has stopped updating the buffer (for whatever reason), but
> the hardware hasn't been told about that and continues playing it.

Thank you, that is extremely helpful. If I'm reading this correctly, it looks like this is not a driver problem, or a hardware problem, but rather squarely the fault of the application which has opened the sound device and is (or was) writing to it.

> 
> > What could be done to stop it from doing that?
> 
> Fix whatever bug is causing this.  Or just reset the software.
> 

It looks like that means Liquidsoap.

Also, naughty me, I forgot to mention that I'd made some customizations to ls_script.liq in Airtime, and so I know what to debug now (ahem, in my code, of course).

Thanks again.

-ken


More information about the Linux-audio-user mailing list