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: Tue, 02 Oct 2007 13:23:50 +0200 [thread overview]
Message-ID: <1191324230.918.1213682039@webmail.messagingengine.com> (raw)
In-Reply-To: <loom.20071002T105039-455@post.gmane.org>
Akio wrote:
> > > 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?
You said that snd_pcm_prepare() returns -EIO, so I guess the driver
does not.
> so I have to check out where is overflow occurred. which function
> should I dive into?
Some function in the driver.
> > Which driver are you using?
>
> my platform is Freescale i.mx27 TO1, the audio driver is come from Freescale.
Then I'd suggest you'd ask Freescale.
In any case I cannot help you if you don't tell me where to find the
source code of the driver.
Regards,
Clemens
next prev parent reply other threads:[~2007-10-02 11:23 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
2007-10-02 11:23 ` Clemens Ladisch [this message]
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=1191324230.918.1213682039@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