Mercurial > audlegacy
changeset 3853:4eeb4c36867c
prebuffer more data (this makes vorbis happy)
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sat, 27 Oct 2007 07:04:14 -0500 |
parents | 71441dd94b37 |
children | faba4117b0d0 |
files | src/audacious/vfs_buffered_file.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/vfs_buffered_file.c Sat Oct 27 05:47:50 2007 -0500 +++ b/src/audacious/vfs_buffered_file.c Sat Oct 27 07:04:14 2007 -0500 @@ -221,7 +221,7 @@ handle = g_new0(VFSFile, 1); fd = g_new0(VFSBufferedFile, 1); - fd->mem = g_malloc0(40000); + fd->mem = g_malloc0(128000); fd->fd = vfs_fopen(uri, "rb"); if (fd->fd == NULL) @@ -233,7 +233,7 @@ return NULL; } - sz = vfs_fread(fd->mem, 1, 40000, fd->fd); + sz = vfs_fread(fd->mem, 1, 128000, fd->fd); vfs_rewind(fd->fd); if (!sz)