Is there any way to divine a count of samples that leave the ALSA ring
buffer during playback? My application requires that I send a callback
when a buffer-full of data is actually played for it to do A/V sync
correctly. Right now I'm doing math  to figure out the right clock
time to issue the callback, using the latency value from
snd_pcm_delay(), but this is not working very well.

Thanks in advance.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to