diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 00:01:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 8cb555460ff79e636a7907fb2589e16db98c8600 (patch) | |
tree | 930a3878c7641c9ce045b24f0ade1309e36d5806 /firmware/export/config.h | |
parent | 0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff) | |
download | rockbox-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 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 13 |
1 files changed, 2 insertions, 11 deletions
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. */ |