[vlc-commits] Adjust the DirectSound buffer size to support correctly 6 channels
Denis Charmet
git at videolan.org
Thu Aug 1 23:09:04 CEST 2013
vlc | branch: master | Denis Charmet <typx at dinauz.org> | Thu Aug 1 23:03:46 2013 +0200| [28f585a8a3a9d0e0f0f1bfca45db924e925601d6] | committer: Denis Charmet
Adjust the DirectSound buffer size to support correctly 6 channels
The buffer size must be a multiple of the number of channels*sample_size or looping will break the channel layout.
Close #8483
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28f585a8a3a9d0e0f0f1bfca45db924e925601d6
---
modules/audio_output/directx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index bf47f85..2f47c47 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -38,7 +38,7 @@
#include "windows_audio_common.h"
-#define DS_BUF_SIZE (4*1024*1024)
+#define DS_BUF_SIZE (6*1024*1024)
/*****************************************************************************
* aout_sys_t: directx audio output method descriptor
More information about the vlc-commits
mailing list