[vlc-devel] commit: Fix pulseaudio no audio issues (Danny Wood )

git version control git at videolan.org
Mon Jun 15 09:14:48 CEST 2009


vlc | branch: 1.0-bugfix | Danny Wood <danwood76 at gmail.com> | Mon Jun 15 09:14:17 2009 +0200| [976dbdf029df2605424eea5adb95ed7efd391d50] | committer: Jean-Baptiste Kempf 

Fix pulseaudio no audio issues

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

 modules/audio_output/pulse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 86bd6dd..b48ff57 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -181,7 +181,7 @@ static int Open ( vlc_object_t *p_this )
      */
     a.tlength = pa_bytes_per_second(&ss)/5;
     a.maxlength = a.tlength * 2;
-    a.prebuf = a.tlength;
+    a.prebuf = a.tlength / 2;
     a.minreq = a.tlength / 10;
 
     /* Buffer size is 20mS */




More information about the vlc-devel mailing list