From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Courtier-Dutton Subject: Re: question about pointer callback Date: Thu, 24 Nov 2005 16:04:40 +0000 Message-ID: References: <009d01c5f101$2ab05e30$3d2aa8c0@Fiona> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.203]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id E0ED01C4 for ; Thu, 24 Nov 2005 17:04:41 +0100 (MET) Received: by nproxy.gmail.com with SMTP id d4so299027nfe for ; Thu, 24 Nov 2005 08:04:40 -0800 (PST) In-Reply-To: <009d01c5f101$2ab05e30$3d2aa8c0@Fiona> Content-Disposition: inline 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: Sverker Abrahamsson Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On 24/11/05, Sverker Abrahamsson wrote: > Hi > I have a (maybe stupid) question about the pointer callback and it's > purpose. Is it used for both playback and capture? As I understand it sho= uld > return the availible data to read (for capture) in number of frames, but > should it return the availible space to write to for playback also? > /Sverker If you mean the pointer callback in a sound card driver module, it should point to the current possition of the ADC, DAC in the ring buffer. So it is not "available data to read". ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click