[alsa-devel] [PATCH] ALSA: pcm - introduce soc_delay

Vinod Koul vinod.koul at linux.intel.com
Mon Jul 23 13:17:07 CEST 2012


On Mon, 2012-07-23 at 16:20 +0530, Jassi Brar wrote:
> >> Couldn't we employ snd_pcm_hw_params.fifo_size for the purpose ?
> > Nope, that should be used to represent the delay in samples being
> output
> > not the sample which are buffered and processed in a DSP
> >
> After leaving alsa ring buffer, don't the samples incur extra delay of
> your internal  buffer ? 
Yes they do.

And they are two types. 
a) constant delay in DMA FIFO, aptly represented by delay
b) dynamic buffering on input DMA at DSP and during post-processing.
This is before the circular DMA at output, and this patch attempts to
represent this buffering.

I guess soc_delay is not a best of name and is causing quite a churn!

-- 
~Vinod



More information about the Alsa-devel mailing list