> When an interrupt arrives and I call snd_pcm_period_elapsed(), what > function gets from alsa middle layer the new block to play and sets up > the hardware ?
Ok, nobody answered, perhaps my question was too stupid :)) I still haven't found in the docs how can I get from ALSA the address of the blocks to play/record, or how to tell ALSA where it the space I allocated so it knows where it has to write the audio data to be played. I can build a very generic scatter-gather list. It has three instructions: addr/length, generate interrupt, jump. Per example I can write an sg list like this to emulate the cyclic buffer of many soundblaster cards: start: addr0/len0 Irq addr1/len1 Irq goto start Bye. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel