From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Copy call back for capture substream Date: Fri, 29 Apr 2011 17:22:14 +0200 Message-ID: <4DBAD7A6.3030502@ladisch.de> References: <4DB93389.3060103@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by alsa0.perex.cz (Postfix) with ESMTP id E78BC1037EA for ; Fri, 29 Apr 2011 17:20:51 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: kshemanth.vasireddi@wipro.com Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org kshemanth.vasireddi@wipro.com wrote: > Yes, I am not clear on what should be returned in pointer call back. > From my understanding we have return available frames in buffer. No, it has to return the position in the buffer after the most recently captured sample. > My ADC doesn't have buffer so, I maintain a ring buffer of 2 periods. > ... > .periods_min = 1, > .periods_max = 2, You need periods_min = 2. > The information contained in this electronic message ... This e-mail contains public information intended for any subscriber of this mailing list and for anybody else who bothers to read it; it will be copied, disclosed and distributed to the public. If you think you are not the intended recipient, please commit suicide immediately. These terms apply also to any e-mails quoted in, referenced from, or answering this e-mail, and supersede any confidentiality notices in those e-mails. Additionally, confidentiality notices in those e-mails will incur legal processing fees of $42 per line; you have agreed to this by reading this confidentiality notice. Regards, Clemens