23 Jul
2012
23 Jul
'12
1:17 p.m.
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