I also want the in and out directions in sample sync.
I.E. The playback period size is 160. I have my code polling, so that it is executed once every 160 samples.
How do I ensure that each time my code executed, there will be at least 160 samples ready to be captured?
Is there some way to link the starting of playback and capture so that they start at exactly the same time. So, each time i play 160 samples, I will have 160 samples ready to capture. If there are only 159 samples ready to be captured, my application will fail.
Cheers James
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel