[vlc-devel] [RFC PATCH 2/2] wasapi: reduce audio buffer
Thomas Guillem
thomas at gllm.fr
Thu Apr 5 11:24:14 CEST 2018
>From 2 seconds to 1 second. This will improve volume feedback when users are
amplifying the volume.
---
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 0ce85db45d..f1843fc43a 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 = AOUT_MAX_PREPARE_TIME * 5;
}
}
else
--
2.11.0
More information about the vlc-devel
mailing list