Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > fa34babe78cfb34315cd7816d33ba8c7 > files > 3

vlc-1.0.6-2mdv2010.1.src.rpm

--- vlc-0.8.6.e.orig/modules/audio_output/alsa.c
+++ vlc-0.8.6.e/modules/audio_output/alsa.c
@@ -74,7 +74,7 @@
    number of channel(s) (eg. 2 for stereo) and the size of a sample (eg.
    2 for int16_t). */
 #define ALSA_DEFAULT_PERIOD_SIZE        1024
-#define ALSA_DEFAULT_BUFFER_SIZE        ( ALSA_DEFAULT_PERIOD_SIZE << 8 )
+#define ALSA_DEFAULT_BUFFER_SIZE        ( ALSA_DEFAULT_PERIOD_SIZE << 4 )
 #define ALSA_SPDIF_PERIOD_SIZE          A52_FRAME_NB
 #define ALSA_SPDIF_BUFFER_SIZE          ( ALSA_SPDIF_PERIOD_SIZE << 4 )
 /* Why << 4 ? --Meuuh */