[alsa-devel] callbacks order while capturing from Line-IN
Manu Abraham
abraham.manu at gmail.com
Fri Dec 17 05:58:03 CET 2010
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
More information about the Alsa-devel
mailing list