Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Can DMA address, periods, buffer size, etc change after hw_params is called?
@ 2009-01-29  7:18 Hans-Christian Egtvedt
  2009-01-29  8:11 ` Clemens Ladisch
  2009-01-29 22:30 ` Timur Tabi
  0 siblings, 2 replies; 8+ messages in thread
From: Hans-Christian Egtvedt @ 2009-01-29  7:18 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-29 22:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29  7:18 Can DMA address, periods, buffer size, etc change after hw_params is called? Hans-Christian Egtvedt
2009-01-29  8:11 ` Clemens Ladisch
2009-01-29  8:43   ` Hans-Christian Egtvedt
2009-01-29  8:58     ` Clemens Ladisch
2009-01-29  9:35       ` Hans-Christian Egtvedt
2009-01-29  9:59         ` Clemens Ladisch
2009-01-29 10:10           ` Hans-Christian Egtvedt
2009-01-29 22:30 ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox