[vlc-commits] wasapi: fix comments

Thomas Guillem git at videolan.org
Wed Apr 4 17:59:59 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Apr  4 16:35:08 2018 +0200| [c791a845c8656ee1aec4c48238f889cabf2da237] | committer: Thomas Guillem

wasapi: fix comments

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

 modules/audio_output/wasapi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index ada493b56b..0ce85db45d 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -492,14 +492,14 @@ static HRESULT Start(aout_stream_t *s, audio_sample_format_t *restrict pfmt,
     {
         vlc_SpdifToWave(pwfe, &fmt);
         shared_mode = AUDCLNT_SHAREMODE_EXCLUSIVE;
-        /* The max buffer duration in exclusive mode is 2 seconds */
+        /* The max buffer duration in exclusive mode is 200ms */
         buffer_duration = AOUT_MAX_PREPARE_TIME;
     }
     else if (b_hdmi)
     {
         vlc_HdmiToWave(&wf_iec61937, &fmt);
         shared_mode = AUDCLNT_SHAREMODE_EXCLUSIVE;
-        /* The max buffer duration in exclusive mode is 2 seconds */
+        /* The max buffer duration in exclusive mode is 200ms */
         buffer_duration = AOUT_MAX_PREPARE_TIME;
     }
     else if (AOUT_FMT_LINEAR(&fmt))



More information about the vlc-commits mailing list