[vlc-commits] Adjust the DirectSound buffer size to support	correctly 6 channels
    Denis Charmet 
    git at videolan.org
       
    Thu Aug  1 23:12:38 CEST 2013
    
    
  
vlc/vlc-2.1 | branch: master | Denis Charmet <typx at dinauz.org> | Thu Aug  1 23:03:46 2013 +0200| [38293e4bd7ad9318ce73f345d9c326ab8748de9a] | 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/vlc-2.1.git/?a=commit;h=38293e4bd7ad9318ce73f345d9c326ab8748de9a
---
 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