From cacc64a4feef33dfd2aef2a1092f110ac196382b Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sun, 2 Jan 2011 03:48:40 +0000 Subject: Blind commit a 'fix' for automatic resume on HWCODEC since I don't understand HWCODEC and have no way to test builds for it. For now just disable it. In the long term it would be nice to support this on HWCODEC, or failing that, clean this up a little more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28943 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index 1d90eee..b3a16a3 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -1695,12 +1695,14 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) if (id3->bitrate == 0) id3->bitrate = 1; +#if CONFIG_CODEC == SWCODEC if (global_settings.autoresume_enable) { id3->offset = get_tag_numeric(entry, tag_lastoffset, idx_id); logf("tagcache_fill_tags: Set offset for %s to %lX\n", id3->title, id3->offset); } +#endif return true; } -- cgit v1.1