>Paul Davis wrote: >> >> why would snd_pcm_mmap_commit() take an amount of time to execute >> that is linear with the number of frames committed (on h/w that >> supports mmap mode without any games) ? >> >> with 64 frames, and a hammerfall, it takes 36 usecs; with 4096 it >> takes 2.3msecs. the code doesn't suggest anything to me ... > >It's hard to believe ;-)
yes, it is. hard enough that i should have looked at my rdtscl() calls more carefully. i was measuring not just the commit() call, but also code that silences all channels untouched by the rest of the code. obviously, this will be roughly linear with the period size. sorry for the distraction. --p _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel