Re: Synchonize video with audio playback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux