From cc11e9466a3aa2ffc67779f80b2059a326301660 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Wed, 4 Jun 2008 05:41:59 +0000 Subject: Further changes in mpc buffered seek. Remove magical number and replace it with a better commented #define. Use shift and bit mask instead of division and modulo operations when using the seek buffer. Saves some binary size for the codec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17686 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 41ffe1c..499cd53 100644 --- a/apps/codecs/libmusepack/decoder.h +++ b/apps/codecs/libmusepack/decoder.h @@ -110,7 +110,8 @@ typedef struct mpc_decoder_t { mpc_uint32_t SeekTableCounter; // used to sum up skip info, if SeekTable_Step != 1 mpc_uint32_t MaxDecodedFrames; // Maximum frames decoded (indicates usable seek table entries) mpc_uint32_t* SeekTable; // seek table itself - mpc_uint8_t SeekTable_Step; // frames per seek table index + mpc_uint8_t SeekTable_Step; // 1<