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 --- firmware/export/config.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index 6ce9bede41..e4397517db 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -53,9 +53,6 @@ #define RDA5802 0x80 /* RDA Microelectronics */ #define STFM1000 0x100 /* Sigmatel */ -/* CONFIG_CODEC */ -#define SWCODEC 1 /* if codec is done by SW */ - /* CONFIG_CPU */ #define MCF5249 5249 #define MCF5250 5250 @@ -903,7 +900,6 @@ Lyre prototype 1 */ #define HAVE_PICTUREFLOW_INTEGRATION #endif -#if (CONFIG_CODEC == SWCODEC) #ifdef BOOTLOADER #ifdef HAVE_BOOTLOADER_USB_MODE @@ -975,8 +971,6 @@ Lyre prototype 1 */ #define HAVE_CROSSFADE #endif -#endif /* (CONFIG_CODEC == SWCODEC) */ - /* Determine if accesses should be strictly long aligned. */ #if defined(CPU_ARM) || defined(CPU_MIPS) #define ROCKBOX_STRICT_ALIGN 1 @@ -1248,19 +1242,16 @@ Lyre prototype 1 */ #define HAVE_PCM_FULL_DUPLEX #endif -#if (CONFIG_CODEC == SWCODEC) #define HAVE_PITCHCONTROL -#endif /* enable logging messages to disk*/ -#if !defined(BOOTLOADER) && !defined(__PCTOOL__) && (CONFIG_CODEC == SWCODEC) +#if !defined(BOOTLOADER) && !defined(__PCTOOL__) #define ROCKBOX_HAS_LOGDISKF #endif #if defined(HAVE_SDL_AUDIO) \ && !(CONFIG_PLATFORM & PLATFORM_MAEMO5) \ - && !defined(HAVE_SW_VOLUME_CONTROL) \ - && CONFIG_CODEC == SWCODEC + && !defined(HAVE_SW_VOLUME_CONTROL) /* SW volume is needed for accurate control and no double buffering should be * required. If target uses SW volume, then its definitions are used instead * so things are as on target. */ -- cgit v1.2.3