From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: PulseAudio and SNDRV_PCM_INFO_BATCH Date: Mon, 22 Jun 2015 08:43:03 +0200 Message-ID: <5587AE77.1020709@metafoo.de> References: <557E86DD.8020709@metafoo.de> <557EBEAA.70004@metafoo.de> <557EDE22.7080808@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-127.synserver.de (smtp-out-127.synserver.de [212.40.185.127]) by alsa0.perex.cz (Postfix) with ESMTP id C36E3261583 for ; Mon, 22 Jun 2015 08:43:05 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: ALSA Development Mailing List , Takashi Iwai , clemens@ladisch.de, Tanu Kaskinen , Arun Raghavan , David Henningsson List-Id: alsa-devel@alsa-project.org On 06/22/2015 04:35 AM, Raymond Yau wrote: > > > > > DMA_RESIDUE_GRANULARITY_BURST means it can report the position with a > granularity of a few samples. Typically half the audio FIFO size. > > > > > > How many soc driver/platform dma engine support DMA_RESIDUE_GRANULARITY_BURST ? Not sure, maybe half of them. But most of the time it is a software restriction rather than a hardware restriction and more and more drivers are supporting it. > > Are all soc audio driver use cyclic dma ? I'm not sure I understand the question. All audio drivers use some kind of cyclic DMA. ASoC platforms which do not have a dedicated audio DMA typically use dmaengine for this, while others which have dedicated audio DMA do the DMA as part of the audio driver.