From: Takashi Iwai Subject: Re: static snd_pcm_uframes_t snd_aicapcm_pcm_pointer(snd_pcm_substream_t *substream) Date: Tue, 28 Feb 2006 11:25:19 +0100 Message-ID: References: <1140813688.9827.1.camel@localhost.localdomain> <1140918491.24141.80.camel@mindpipe> <1140951305.9540.3.camel@localhost.localdomain> <1141083326.9257.5.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1141083326.9257.5.camel@localhost.localdomain> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Adrian McMenamin Cc: Lee Revell , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 27 Feb 2006 23:35:26 +0000, 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. OK, you're right, not always DMA. But note that this position is not accumulative but the offset in the ring buffer. Takashi ------------------------------------------------------- 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