From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
To: Lee Revell <rlrevell@joe-job.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: static snd_pcm_uframes_t snd_aicapcm_pcm_pointer(snd_pcm_substream_t *substream)
Date: Sun, 26 Feb 2006 10:55:05 +0000 [thread overview]
Message-ID: <1140951305.9540.3.camel@localhost.localdomain> (raw)
In-Reply-To: <1140918491.24141.80.camel@mindpipe>
On Sat, 2006-02-25 at 20:48 -0500, Lee Revell wrote:
> On Fri, 2006-02-24 at 20:41 +0000, Adrian McMenamin wrote:
> > What should my pointer callback return - is it the number of frames
> > still to come from the dma transfer or the number of frames still to
> > play in the device's buffer, or something else?
> >
>
> http://www.alsa-project.org/~iwai/writing-an-alsa-driver/x639.htm#PCM-INTERFACE-OPERATORS-POINTER-CALLBACK
The problem with that - which I have read many times and even host
locally - http://newgolddream.dyndns.info/alsa - so I have a copy that
is very easily accessible is that:
"This callback is called when the PCM middle layer inquires the current
hardware position on the buffer."
Could mean any number of different things because there is more than one
buffer here.
As it is James Courtier-Dutton has clarified this for me.
But one more question: what is the different between this and the
interrupt handling? Are they both seeking to do the same thing?
-------------------------------------------------------
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-26 10:55 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 [this message]
2006-02-27 11:35 ` Takashi Iwai
2006-02-27 23:35 ` Adrian McMenamin
2006-02-28 8:20 ` static snd_pcm_uframes_t snd_aicapcm_pcm_pointe Giuliano Pochini
2006-02-28 10:25 ` static snd_pcm_uframes_t snd_aicapcm_pcm_pointer(snd_pcm_substream_t *substream) 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=1140951305.9540.3.camel@localhost.localdomain \
--to=adrian@mcmen.demon.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
--cc=rlrevell@joe-job.com \
/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.