Re: [ALSA] emu10k1: hw_ptr skipping when unpausing mplayer

From: Takashi Iwai
Date: Tue Jul 21 2009 - 01:48:21 EST


At Mon, 20 Jul 2009 20:57:21 +0200,
Piotr Kaczuba wrote:
>
> On Mon, Jul 20, 2009 at 08:33:37AM +0200, Takashi Iwai wrote:
> > At Sat, 18 Jul 2009 16:07:07 +0000 (UTC),
> > Piotr Kaczuba wrote:
> > >
> > > Since 2.6.30 I'm experiencing sound and video stuttering when unpausing
> > > mplayer. The soundcard is an Audigy 1, driver is emu10k1. Kernel is
> > > x86_64, userspace is 32-bit. I doesn't happen always, but regularly
> > > enough.
> >
> > To be sure -- isn't it arch-independent? I guess 64bit user-space
> > can cause the same problem.
> I've tested it and it's the same with 64bit mplayer.

OK.

> [...]
> > The problem is likely due to some wrong operation in the pause/restart.
> > Does the patch below work around a problem?
> >
> > If this works (somehow, not causing the same error), we can focus more
> > on the pause implementation of emu10k1.
> [...]
>
> Yes, the patch helps. I've tried half a dozen times and the problem
> hasn't reappeared. No messages at all with xrun_debug either. So it
> is probably the pause implementation of emu10k1.

Thanks. And did you test with the recent 2.6.31-rc* kernel, right?


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/