summaryrefslogtreecommitdiffstats
path: root/common/av_common.c
diff options
context:
space:
mode:
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>2014-03-06 15:50:22 -0300
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2014-03-06 17:21:33 -0300
commit1d096f9f1bbe2d8da8860003457d1161deb873f6 (patch)
tree24f5e3d14df5d3d6fd13dfcc2186b9b3474763f7 /common/av_common.c
parenta9eae4276d066f5c6b52f97ae4ac6158e1d4bae0 (diff)
downloadmpv-1d096f9f1bbe2d8da8860003457d1161deb873f6.tar.bz2
mpv-1d096f9f1bbe2d8da8860003457d1161deb873f6.tar.xz
ao_wasapi: Add device latency to get_delay
The lack of device latency made get_delay report latencies shorter than they should; on systems with fast enough drivers, the delay is not perceptible, but high enough invisible delays would cause desyncs. I'm not yet completely sure whether this is 100% accurate, there are some issues involved when repeatedly pausing+unpausing (the delay might jump around by several dozen miliseconds), but seeking seems to be working correctly now.
Diffstat (limited to 'common/av_common.c')
0 files changed, 0 insertions, 0 deletions