From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@shiny.it>
Cc: James Courtier-Dutton <James@superbug.demon.co.uk>,
alsa-devel@lists.sourceforge.net
Subject: Re: ring buffer pointer accuracy.
Date: Mon, 14 Jul 2003 16:29:17 +0200 [thread overview]
Message-ID: <s5hd6gduqpu.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030711172808.694df05b.pochini@shiny.it>
At Fri, 11 Jul 2003 17:28:08 +0200,
Giuliano Pochini wrote:
>
> On Thu, 10 Jul 2003 16:31:28 +0100
> James Courtier-Dutton <James@superbug.demon.co.uk> wrote:
>
> > Hi,
> >
> > When an application reads the "avail" or "delay" pcm values: -
> > 1) how accurate are they?
> > 2) does the accuracy depend on the sound card driver being used.
>
> Worst case accuracy is about one period AFAIK. It depends on the sound chip
> because the low level driver reads the DMA pointer (or something) from some
> hardware register or it can know the DMA pointer when it receives an interrupt
> at the end of a period.
yes. if the accuracy is in period size, at least it should work
somehow. e.g. the time-slider of a player might not move so smooth
but it must not be critical.
Takashi
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
next prev parent reply other threads:[~2003-07-14 14:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-10 15:31 ring buffer pointer accuracy James Courtier-Dutton
2003-07-11 15:28 ` Giuliano Pochini
2003-07-14 14:29 ` Takashi Iwai [this message]
2003-07-14 14:51 ` James Courtier-Dutton
2003-07-14 15:57 ` Giuliano Pochini
2003-07-14 16:53 ` Måns Rullgård
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=s5hd6gduqpu.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=James@superbug.demon.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
--cc=pochini@shiny.it \
/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.