[alsa-devel] device underruns
Daniel Mack
daniel at caiaq.de
Mon Apr 27 12:18:05 CEST 2009
On Mon, Apr 27, 2009 at 12:12:14PM +0200, Takashi Iwai wrote:
> > > The ALSA PCM core just relies upon two things from the lowlevel driver:
> > >
> > > 1. The lowlevel driver calls snd_pcm_period_elapsed() at each time
> > > when the set-up period size has been processed by the hardware.
> > > 2. The pointer callback reports the sane position as the current
> > > position; not below the previous position and not above the next
> > > period boundary.
> > >
> > > Especially pulseaudio is very sensitive about these two things,
> > > because it always asks the driver the current position. Thus, if your
> > > driver doesn't fulfill the above conditions, it won't work properly.
> >
> > Oh well. Stupid me. I think I fixed it, and wonder why it didn't break
> > more things. Could you apply the patch below?
>
> If you provide a proper changelog and your sign-off ;)
Oops :)
More information about the Alsa-devel
mailing list