On Fri, Jan 25, 2008 at 05:19:52PM +0100, Takashi Iwai wrote: > > If I interpreted my tests output correctly, the last byte of a period > > is written by the DMA engine after the interrupt occurs. So the > > hw pointer probably has to be decremented by one and is then > > pointing to the last frame (Or even that before: Has the hw pointer to point > > at the frame which is written at the moment or the one which is > > guaranteed to be written completely by the hardware ?) > > This sounds a bit odd. Isn't it rather the setup of the hardware > parameter wrong? I mean, the count calculation in *_prepare() can be > the size - 1? At least according to the datasheet the size calculation is correct. Could you please tell me where the hw pointer exactly should point to ? Thanks, Hermann -- Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224 Email: Hermann.Lauer@xxxxxxxxxxxxxxxxxxxxx _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel