From 1d28fe7d798eaad14e7e4553d4af6c8082309126 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Mon, 19 May 2008 18:06:00 +0000 Subject: Musepack seek hotfix. Do not dynamically allocate seek buffer but use a buffer of constant size (~28.5min). Files larger than this will still not seek properly. Some additional rework has to be done for the seek buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17584 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmusepack/decoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs/libmusepack/decoder.h') diff --git a/apps/codecs/libmusepack/decoder.h b/apps/codecs/libmusepack/decoder.h index 1f78d53..b035ae9 100644 --- a/apps/codecs/libmusepack/decoder.h +++ b/apps/codecs/libmusepack/decoder.h @@ -48,7 +48,8 @@ enum { MPC_V_MEM = 2304, - MPC_DECODER_MEMSIZE = 16384, // overall buffer size + MPC_DECODER_MEMSIZE = 16384, // overall buffer size (words) + MPC_SEEK_BUFFER_SIZE = 65536, // seek buffer size (words) }; typedef struct { -- cgit v1.1