Thomas Witzel wrote: > On Monday 13 November 2006 08:51, you wrote: > > I don't think it's a good idea to reset the DMA when _any_ interrupt > > occurs; this could be too early. You could just wait for it to halt by > > itself when the last buffer entry is reached, and reset the DMA when the > > device is closed. > > Without this it would get me about 100000 interrupts in just a few seconds > telling me that it has finished. Apparently, the interrupt handler is supposed to either add more valid buffers or to stop the DMA. I think the appropriate thing to do is top stop (not reset) the DMA when the end-of-list bit has been set, but not at the first interrupt (that will occur after the first buffer has been fetched). HTH Clemens ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel