summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2011-01-02 03:48:40 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2011-01-02 03:48:40 +0000
commitcacc64a4feef33dfd2aef2a1092f110ac196382b (patch)
treebaddda51b0d0aa7ea973ce02dc199a7acb064cc3 /apps/tagcache.c
parent66e8fc0f0d05d926a90e8d9991f78b7a855eb7f3 (diff)
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
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 1d90eee24b..b3a16a3c42 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;
}