Can DMA address, periods, buffer size, etc change after hw_params is called?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux