vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jul 4 13:16:29 2018 +0200| [5d974fc0d4cbf7ac5cf39e1e20318cd1fe953714] | committer: Steve Lhomme
access:wasapi: convert ticks to REFERENCE_TIME using MSFTIME_FROM_VLC_TICK() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d974fc0d4cbf7ac5cf39e1e20318cd1fe953714 --- modules/access/wasapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/wasapi.c b/modules/access/wasapi.c index a453cf4a69..1565ccbbb2 100644 --- a/modules/access/wasapi.c +++ b/modules/access/wasapi.c @@ -254,7 +254,7 @@ static es_out_id_t *CreateES(demux_t *demux, IAudioClient *client, bool loop, flags |= AUDCLNT_STREAMFLAGS_LOOPBACK; /* Request at least thrice the PTS delay */ - REFERENCE_TIME bufsize = caching * INT64_C(10) * 3; + REFERENCE_TIME bufsize = MSFTIME_FROM_VLC_TICK( caching ) * 3; hr = IAudioClient_Initialize(client, AUDCLNT_SHAREMODE_SHARED, flags, bufsize, 0, pwf, NULL); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
