From 8cb555460ff79e636a7907fb2589e16db98c8600 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 00:01:32 -0400 Subject: [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 --- apps/tagcache.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/tagcache.c') 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) if (id3->bitrate == 0) id3->bitrate = 1; -#if CONFIG_CODEC == SWCODEC if (global_settings.autoresume_enable) { id3->elapsed = get_tag_numeric(entry, tag_lastelapsed, idx_id); @@ -1790,8 +1789,7 @@ bool tagcache_fill_tags(struct mp3entry *id3, const char *filename) logf("tagcache_fill_tags: Set offset for %s to %lX\n", id3->title, id3->offset); } -#endif - + return true; } #endif /* defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) */ -- cgit v1.2.3