23 Jul
2012
23 Jul
'12
12:38 p.m.
alberto Villa wrote:> Hello,
I'm going to use the MMAP feature of ALSA.
Why do you need to do this?
snd_pcm_mmap_begin(capture, &c_area, &c_offset, &c_frames);
it keeps to return c_frames = 0: is it right ? what does this mean?
It means that there are no samples available at the moment. (Or that you forgot to call snd_pcm_avail_update(), or that you didn't set c_frames before the call.)
Regards, Clemens