changeset 2622:06e4bbdb6c45 trunk

[svn] - due to some bug in buffer management, bump the buffer side of things up to ~40kb instead of 32kb for now.
author nenolod
date Thu, 15 Mar 2007 18:44:52 -0700
parents 83cd495dc898
children 0ad10a95ed10
files ChangeLog src/audacious/build_stamp.c src/audacious/vfs_buffered_file.c
diffstat 3 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 13 13:32:56 2007 -0700
+++ b/ChangeLog	Thu Mar 15 18:44:52 2007 -0700
@@ -1,3 +1,11 @@
+2007-03-13 20:32:56 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4254]
+  - add Doxygen files
+  
+  trunk/Doxyfile | 1252 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  1 file changed, 1252 insertions(+)
+
+
 2007-03-12 17:55:24 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [4252]
   - add millisecond seek function to InputPlugin API. with this function, cuesheet and encoder plugins can achieve higher accuracy.
--- a/src/audacious/build_stamp.c	Tue Mar 13 13:32:56 2007 -0700
+++ b/src/audacious/build_stamp.c	Thu Mar 15 18:44:52 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070312-4252";
+const gchar *svn_stamp = "20070313-4254";
--- a/src/audacious/vfs_buffered_file.c	Tue Mar 13 13:32:56 2007 -0700
+++ b/src/audacious/vfs_buffered_file.c	Thu Mar 15 18:44:52 2007 -0700
@@ -191,7 +191,7 @@
 
     handle = g_new0(VFSFile, 1);
     fd = g_new0(VFSBufferedFile, 1);
-    fd->mem = g_malloc0(32768);
+    fd->mem = g_malloc0(40000);
     fd->fd = vfs_fopen(uri, "rb");
 
     if (fd->fd == NULL)
@@ -203,7 +203,7 @@
 	return NULL;
     }
 
-    sz = vfs_fread(fd->mem, 1, 32768, fd->fd);
+    sz = vfs_fread(fd->mem, 1, 40000, fd->fd);
 
     if (!sz)
     {