All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Ryan Underwood <nemesis-lists@icequake.net>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Unexpected hw_pointer value
Date: Mon, 06 Oct 2003 13:07:52 +0200	[thread overview]
Message-ID: <s5hvfr2oc8n.wl@alsa2.suse.de> (raw)
In-Reply-To: <20031004215812.GI2972@dbz.icequake.net>

At Sat, 4 Oct 2003 16:58:12 -0500,
Ryan Underwood wrote:
> 
> 
> Hi,
> 
> On Sat, Oct 04, 2003 at 11:12:00PM +0200, Jon wrote:
> > hello,
> > 
> > i have an ES1983S Maestro-3i on a c600 dell laptop
> > i got this message in syslog :
> > 
> > ALSA sound/core/pcm_lib.c:214: Unexpected hw_pointer value (stream = 0,
> > delta: -944, max jitter = 1024): wrong interrupt acknowledge?
> 
> I get a lot of these as well with the in-development Aureal driver.  I'm
> also curious as to what they mean.  (I seem to be the only person having
> the problem).  They mostly occur while playing music in xmms with xmms
> alsa plugin.  They fill up syslog with hundreds of megabytes. :)

in alsa pcm, there are two routes to update the hwptr, namely,
snd_pcm_update_hw_ptr_interrupt() and snd_pcm_update_hw_ptr().
the former is called through snd_pcm_period_elapsed(), which is
originally called from the device's interrupt handler.
meanwhile, the latter is called from timer tick and some ioctl
handlers (reset, read, write).

these routines are quite similar, and we can clean up them more...


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  parent reply	other threads:[~2003-10-06 11:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-04 21:12 Unexpected hw_pointer value Jon
2003-10-04 21:58 ` Ryan Underwood
2003-10-05 14:26   ` Giuliano Pochini
2003-10-06 13:36     ` Jaroslav Kysela
2003-10-06 22:33       ` Jon
2003-10-06 11:07   ` Takashi Iwai [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-08-07 23:05 Giuliano Pochini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hvfr2oc8n.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=nemesis-lists@icequake.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.