[Alsa-user] Audio capture on OMAP3530/DM3730 (Yocto Poky Linux 3.18+) occasionally swaps channels

2016-07-11 Thread Akram Hameed
Hello there, Unsure if this is the right list (I have seen questions marked like this on the devel list), but I have a fairly serious problem using ALSA for capture on an Gumstix Overo based system. The audio device in question is a TWL4030 device. Previously I was using a 3.0 kernel and my audi

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

[Alsa-user] Verification of settings

2016-07-11 Thread Rob Nertney
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_LE, 16000Hz. My DMA has 2 buffers, PING and PONG. Each