7 Apr
2016
7 Apr
'16
2:26 p.m.
Li, Steve wrote:
I am wondering what is the best way to synchronize video playback with audio. What kind of timing information can I query through the ALSA interface in terms of the audio playback?
snd_pcm_delay() gives you the number of samples currently in the queue between your application and the speaker.
Regards, Clemens