Callback after a specified number of samples
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.
Signature · 9 lines
Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen - und tolle Preise absahnen! http://www.onlinestar.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
Quoted 5 lines · Wolfgang Hesseler
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