On Thu, 2009-08-20 at 13:18 +0100, Mark Brown wrote: > > Yes, I understand the problem. The callback I suggest above ought to > allow the appropriate sequencing - the DMA driver can call the callback > to start the DAI in between starting the DMA and kicking the DMA API to > queue the next block. That would avoid the abstraction problems. > Callback is a elegant way to solve the problem. But I have a question that when should the DMA driver call the callback funtion? There is no event to tell it to call. Periodly checking? It will not only cause latency but also increase the system load. Thanks. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel