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

Jassi Brar jassisinghbrar at gmail.com
Mon Jul 23 12:19:14 CEST 2012

On Mon, Jul 23, 2012 at 3:36 PM, Vinod Koul <vinod.koul at linux.intel.com> wrote:
> In many modern SoCs the audio DSP can buffer the PCM ring buffer data. Today we
> have no means to represent this buffering and ALSA wrongly detects an overrun
> when hw_ptr reaches app_ptr value, though DSP may still have some buffered data.
> This patch tries to add a new field "soc_delay" to represent buffering done in
> DSPs. This value is also used for the xrun calculations in ALSA.
Couldn't we employ snd_pcm_hw_params.fifo_size for the purpose ?

More information about the Alsa-devel mailing list