On Sun, 29 Sep 2002, Wolfgang Hesseler wrote: > Hello, > is it possible to get a callback after a specified number > of samples (e.g. 4000) are played? > I'd like to refill the buffer then and need the exact > number to synchronize audio and video.
Look to alsa-lib/test/pcm.c and "async" method. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel