[alsa-devel] [PATCH] Sound: MSM soc : imported alsa for the MSM from codeaurora

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 30 12:20:52 CET 2009


On Mon, Nov 30, 2009 at 12:16:42AM +0100, GNUtoo wrote:
> On Fri, 2009-11-13 at 14:50 +0000, Mark Brown wrote:

Please remember to keep people CCed on mails.

> > This looks suspicious - it looks like what's going on is that you're
> > getting a notification from the DSP that it has consumed a data buffer
> > but this might go out of bounds and get clamped.

> The first time that it's called prtd->out[idx].used = BUF_INVALID_LEN so
> it's skipped(it's the same first bogus time than in my previous mails).

My more general comment on this stuff was that all the buffer management
code was extremely difficult to follow and hence likely to have errors.


More information about the Alsa-devel mailing list