29 Jan
2009
29 Jan
'09
8:18 a.m.
Hi,
I wonder if I must take care handling changes in DMA address, number of periods and period size in the prepare callback?
Or are these locked after the first time prepare is called?
The reason I ask is because I'm developing a new ALSA driver and I prepare a cyclic DMA transfer in the first prepare callback. Additional calls to prepare will not do anything DMA stuff.
The cyclic DMA transfer is then released in the close callback.
Should I after the open and hw_params calls be ready to handle any change at all regarding DMA buffer address, periods and/or number of periods?
I hope I made sense in this email (-:
--
Best regards,
Hans-Christian Egtvedt