From ec9b202a921996945ebd42a7edba1326754d7737 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 10 Sep 2005 12:28:16 +0000 Subject: Reworked handling of MPEG audio frame & file info: * Fixed frame size calculation for layer 1 (all versions) and layer 2 (V2/V2.5). * Exact frame time (expressed as a fraction) for way more precise playtime calculation at 44100/22050/11025Hz sample frequency. * Exact playtime<->position conversion for CBR also used for resume position. * More compact code, long policy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7505 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 1c1e664b90..327b79a7ee 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -215,13 +215,13 @@ struct user_settings #ifdef HAVE_SPDIF_POWER bool spdif_enable; /* S/PDIF power on/off */ #endif - + /* resume settings */ bool resume; /* resume option: 0=off, 1=on */ int resume_index; /* index in playlist (-1 for no active resume) */ int resume_first_index; /* index of first track in playlist */ - int resume_offset; /* byte offset in mp3 file */ + unsigned long resume_offset; /* byte offset in mp3 file */ int resume_seed; /* shuffle seed (-1=no resume shuffle 0=sorted >0=shuffled) */ -- cgit v1.2.3