
1 Aug
2016
1 Aug
'16
9:34 a.m.
Rob Nertney wrote:
an IRQ every 32Bytes (half-frame)
I wrote my handler as described in the high-frequency interrupts described here: http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/ch05s07.html
This does not make sense; you need a timer only when you do not have a proper interrupt. Why do you think you need to do it this way?
My data is valid until 1/4 buffer full, then it interleaves stale (lower numbers) in, replacing the desired numbers. It's sporadic, and it appears to repeat, as if ALSA never returns to the 0-offset of dma_area.
ALSA just reports what your driver tells it; this sounds like a bug in your driver or in the hardware.
Regards, Clemens