From: Giuliano Pochini <pochini@shiny.it>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: static snd_pcm_uframes_t snd_aicapcm_pcm_pointe
Date: Tue, 28 Feb 2006 09:20:21 +0100 (CET) [thread overview]
Message-ID: <XFMail.20060228092021.pochini@shiny.it> (raw)
In-Reply-To: <1141083326.9257.5.camel@localhost.localdomain>
On 27-Feb-2006 Adrian McMenamin wrote:
> On Mon, 2006-02-27 at 12:35 +0100, Takashi Iwai wrote:
>
>>
>> The pointer callback can be at any time to query the current DMA
>> position, not only from the interrupt handler, e.g. from ioctl.
>>
>>
> What has DMA got to do with it? I am again confused.. I thought it was
> meant to return the current playback position, not the DMA position.
The ring buffer that holds audio data is accessed by your card
via DMA I guess.
.pointer(substream) shall return the position inside the buffer,
in frames, that the card is accessing in this moment. It's not
important whether the card uses DMA or it doesn't.
--
Giuliano.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
next prev parent reply other threads:[~2006-02-28 8:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-24 20:41 static snd_pcm_uframes_t snd_aicapcm_pcm_pointer(snd_pcm_substream_t *substream) Adrian McMenamin
2006-02-26 1:48 ` Lee Revell
2006-02-26 10:55 ` Adrian McMenamin
2006-02-27 11:35 ` Takashi Iwai
2006-02-27 23:35 ` Adrian McMenamin
2006-02-28 8:20 ` Giuliano Pochini [this message]
2006-02-28 10:25 ` Takashi Iwai
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=XFMail.20060228092021.pochini@shiny.it \
--to=pochini@shiny.it \
--cc=adrian@mcmen.demon.co.uk \
--cc=alsa-devel@lists.sourceforge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox