From: "Clemens Ladisch" <cladisch@fastmail.net>
To: alsa-devel@alsa-project.org
Subject: Re: about sound/core/pcm_lib.c:1997: capture read error (DMA or IRQ trouble?)
Date: Mon, 01 Oct 2007 08:49:53 +0200 [thread overview]
Message-ID: <1191221393.9447.1213434499@webmail.messagingengine.com> (raw)
In-Reply-To: <loom.20070928T151557-644@post.gmane.org>
Akio wrote:
> Clemens Ladisch <cladisch <at> fastmail.net> writes:
> > Akio wrote:
> > > Clemens Ladisch <cladisch <at> fastmail.net> writes:
> > > > I would have guessed that some 32-bit counter has overflowed, but at
> > > > 48 kHz, a frame counter would overflow after slightly less than
> > > > 25 hours.
> > >
> > > Thanks for Clemens. Could you tell me the counter's name and which layer does it?
> > > in alsa driver or in alsa lib or in alsa core module?
> >
> > I'm not aware of any such bug in the ALSA framework. I'd guess this is
> > some problem with your driver.
> >
> > What sample frequency are you using?
>
> in my case, the sampling rate is 16k,
At 16 kHz, a 32-bit counter overflows after about 74.5 hours.
> 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.
> > > snd_pcm_prepare does not work.
> >
> > What error does it return?
>
> 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?
Regards,
Clemens
next prev parent reply other threads:[~2007-10-01 6:49 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 [this message]
2007-10-02 10:58 ` Akio
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=1191221393.9447.1213434499@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox