[vlc-commits] audiotrack: fix AudioTimestamp

Thomas Guillem git at videolan.org
Wed Apr 15 17:27:07 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Apr 15 10:27:46 2015 +0200| [0bd6c08be1a7ddc8060be1989310cb2b81d4925d] | committer: Thomas Guillem

audiotrack: fix AudioTimestamp

Move AudioTimestamp variables into a separate struct.
Move AudioTimestamp calculation into a separate function.
Call getTimestamp every 500ms, keep the previous result in cache.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0bd6c08be1a7ddc8060be1989310cb2b81d4925d
---

 modules/audio_output/audiotrack.c |  181 ++++++++++++++++++++++++-------------
 1 file changed, 116 insertions(+), 65 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=0bd6c08be1a7ddc8060be1989310cb2b81d4925d


More information about the vlc-commits mailing list