here's a better version (i think): * You should pass this function the offset value that * snd_pcm_mmap_begin returned. The frames parameter should hold the * number of frames you have written or read to/from the audio * buffer. Each call to snd_pcm_mmap_begin() may be followed by a * series of zero or more calls to snd_pcm_mmap_commit(). If * snd_pcm_mmap_begin() returned N frames, the sum of all frames * recorded as written or read by that corresponding series of calls to * snd_pcm_mmap_commit() may not exceed N.
_______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel