summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 00:01:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit8cb555460ff79e636a7907fb2589e16db98c8600 (patch)
tree930a3878c7641c9ce045b24f0ade1309e36d5806 /apps/tagcache.c
parent0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff)
downloadrockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz
rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 7265ce87b2..bff1550059 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1779,7 +1779,6 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename)
1779 if (id3->bitrate == 0) 1779 if (id3->bitrate == 0)
1780 id3->bitrate = 1; 1780 id3->bitrate = 1;
1781 1781
1782#if CONFIG_CODEC == SWCODEC
1783 if (global_settings.autoresume_enable) 1782 if (global_settings.autoresume_enable)
1784 { 1783 {
1785 id3->elapsed = get_tag_numeric(entry, tag_lastelapsed, idx_id); 1784 id3->elapsed = get_tag_numeric(entry, tag_lastelapsed, idx_id);
@@ -1790,8 +1789,7 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename)
1790 logf("tagcache_fill_tags: Set offset for %s to %lX\n", 1789 logf("tagcache_fill_tags: Set offset for %s to %lX\n",
1791 id3->title, id3->offset); 1790 id3->title, id3->offset);
1792 } 1791 }
1793#endif 1792
1794
1795 return true; 1793 return true;
1796} 1794}
1797#endif /* defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) */ 1795#endif /* defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) */