I try to understand how PCM capture work. In all program/driver that use A/D converter (like it is in soundcard) we have 2 way. We can use polling or interrupt request. How it's made in ALSA driver?
If I write for example:
int pcmreturn;
while ((pcmreturn = snd_pcm_readi(pcm_capture_handle, capdata, periodsize>>2)) < 0) {
snd_pcm_prepare(pcm_capture_handle);
fprintf(stderr, "<<<<<<<<<<<<<<< Buffer Overrun >>>>>>>>>>>>>>>\n");
}
Whicz metod is use? Interrupt or polling?
Thank in advance
Mark
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user