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/filetypes.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'apps/filetypes.c') diff --git a/apps/filetypes.c b/apps/filetypes.c index a30f012e53..9abcfec884 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c @@ -41,11 +41,7 @@ #include "logf.h" /* max filetypes (plugins & icons stored here) */ -#if CONFIG_CODEC == SWCODEC #define MAX_FILETYPES 192 -#else -#define MAX_FILETYPES 128 -#endif /* max viewer plugins */ #ifdef HAVE_LCD_BITMAP #define MAX_VIEWERS 56 @@ -58,8 +54,6 @@ static const struct filetype inbuilt_filetypes[] = { { "mp3", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, { "mp2", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, { "mpa", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, -#if CONFIG_CODEC == SWCODEC - /* Temporary hack to allow playlist creation */ { "mp1", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, { "ogg", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, { "oga", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, @@ -121,7 +115,6 @@ static const struct filetype inbuilt_filetypes[] = { { "vgz", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, { "kss", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, { "aac", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA }, -#endif { "m3u", FILE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST }, { "m3u8",FILE_ATTR_M3U, Icon_Playlist, LANG_PLAYLIST }, { "cfg", FILE_ATTR_CFG, Icon_Config, VOICE_EXT_CFG }, -- cgit v1.2.3