All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akio <akioolin@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: about sound/core/pcm_lib.c:1997: capture read error (DMA or IRQ trouble?)
Date: Tue, 2 Oct 2007 10:58:55 +0000 (UTC)	[thread overview]
Message-ID: <loom.20071002T105039-455@post.gmane.org> (raw)
In-Reply-To: 1191221393.9447.1213434499@webmail.messagingengine.com

> >   in my case, the sampling rate is 16k,
> 
> At 16 kHz, a 32-bit counter overflows after about 74.5 hours.

so the unit is samples not frames. does snd_pcm_prepare will reset
the counter or not?

> > what is the unit of the counter? period counts or samples?
> 
> I do not know what counter this could be.  I'm just guessing that _some_
> counter overflows; this would fit the symptoms you've described.

   so I have to check out where is overflow occurred. which function should I
dive into?

> >   I use strerr to get the error message, and it tell me "Input/Output
> >   Error"
> 
> This error code is returned by the driver.  Which driver are you using?

my platform is Freescale i.mx27 TO1, the audio driver is come from Freescale.
the audio codec is Freescale PC13783. the alsa core version is 1.0.13, kernel 
version is 2.6.19.3.

Thank you very much.

Best Regards,
Akio

  reply	other threads:[~2007-10-02 10:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26  3:28 about sound/core/pcm_lib.c:1997: capture read error (DMA or IRQ trouble?) Akio
2007-09-26  6:24 ` Clemens Ladisch
2007-09-27  4:31   ` Akio
2007-09-27  7:14     ` Clemens Ladisch
2007-09-28 15:23       ` Akio
2007-10-01  6:49         ` Clemens Ladisch
2007-10-02 10:58           ` Akio [this message]
2007-10-02 11:23             ` Clemens Ladisch
2007-10-02 11:37               ` Akio
2007-10-04  4:50               ` Akio

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=loom.20071002T105039-455@post.gmane.org \
    --to=akioolin@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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.