[vlc-commits] aout:wasapi: use MSFTIME_FROM_VLC_TICK to convert to REFERENCE_TIME
Steve Lhomme
git at videolan.org
Wed Jul 4 14:04:14 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul 4 13:22:18 2018 +0200| [565ee29aa33443d574843cfa53d95ecf33c7c196] | committer: Steve Lhomme
aout:wasapi: use MSFTIME_FROM_VLC_TICK to convert to REFERENCE_TIME
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=565ee29aa33443d574843cfa53d95ecf33c7c196
---
modules/audio_output/wasapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index bcfd9555ae..70340e41dc 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -524,7 +524,7 @@ static HRESULT Start(aout_stream_t *s, audio_sample_format_t *restrict pfmt,
else
{
vlc_ToWave(pwfe, &fmt);
- buffer_duration = AOUT_MAX_PREPARE_TIME * 10;
+ buffer_duration = MSFTIME_FROM_VLC_TICK(AOUT_MAX_PREPARE_TIME);
}
}
else
More information about the vlc-commits
mailing list