Re: [Alsa-user] [alsa-devel] Verification of settings

2016-07-11 Thread Rob Nertney
Related question: Once I have copied my data from PING into dma_area, and called snd_pcm_period_elapsed, can I assume arecord has consumed that data by the time i finish writing PONG, calling snd_pcm_period_elapsed, and hit the IRQ to recopy PING? in other words, what/where is the guarantee that

Re: [Alsa-user] [alsa-devel] Verification of settings

2016-07-11 Thread Rob Nertney
Thanks Lars. My problem with the DMA is that it doesn't support cyclic mode, but does support SG mode. I have to create a new descriptor every time, and requeue/resubmit it. I don't want to drop any frames, so PONG is being received while PING is being copied and resubmitted to the Linux queue. O

Re: [Alsa-user] [alsa-devel] Verification of settings

2016-07-11 Thread Lars-Peter Clausen
On 07/11/2016 09:10 PM, Rob Nertney wrote: > Hi all, > > Could I please get a sanity check on my hw_params? > > I have a DMA which is providing between 1-16 channels of 4 bytes/ch worth > of data as a frame. I get an interrupt to my driver every frame's worth of > data (64 Bytes). The data is S32