Re: [Alsa-user] mmap_readi or mmap_begin

2009-07-14 Thread Clemens Ladisch
Marek Michalak wrote: Is there any difference if I write in my code: while (size 0) { frames = size; err = snd_pcm_mmap_begin(handle, my_areas, offset, frames); record_buffor(my_areas, offset, frames, data-phase);

[Alsa-user] mmap_readi or mmap_begin

2009-07-13 Thread Marek Michalak
Hello! Is there any difference if I write in my code: while (size 0) { frames = size; err = snd_pcm_mmap_begin(handle, my_areas, offset, frames); record_buffor(my_areas, offset, frames, data-phase); snd_pcm_mmap_commit(handle, offset,