17 Dec
2010
17 Dec
'10
4:58 a.m.
Hi,
By now I am a bit confused.
I am seeing a certain pattern in which the callbacks are invoked:
- hw_params() - prepare() - trigger(); // Start DMA - pointer(); --> gets data after interrupt is handled - trigger(); // Stop DMA - prepare(); - trigger(); // Start DMA - pointer(); --> gets data after interrupt is handled
.. ..
and so on.
Is this the right behaviour that's expected from a function ALSA capture driver ? I am trying to understand why there is Start DMA, Stop DMA, Start DMA, Stop DMA in a cyclic fashion for each of the interrupts in my setup.
Thanks, Manu