Capture program
Hi
I wrote a capture program, but i wanted to add overrun handling for synchronization. My goal was to get the frames number (available + not-available frames due to overrun).
I tried snd_pcm_delay() call, but the return value was always 1 during an overrun. Another attempt was to use snd_pcm_avail_update(), which gave back results more then the buffer size, but i'm not sure if it's correct considering my goal. If it's not right, what do i do?
Thank is advance!
ps.: mmap access is used by the program
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping