summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2023-02-07 11:23:30 -0500
committerSolomon Peachy <pizza@shaftnet.org>2023-02-07 11:25:02 -0500
commit23cb6139bdd3c12d0262916583726ad9d49caf67 (patch)
tree29cae6fcd701cf1a44211c58aaacbee7c308bb84 /lib/rbcodec/codecs
parent88f4f1c8d087ac1a070f280abfb8afafd81a649d (diff)
downloadrockbox-23cb6139bdd3c12d0262916583726ad9d49caf67.tar.gz
rockbox-23cb6139bdd3c12d0262916583726ad9d49caf67.zip
SID: Disable SID on 2MB targets, as cRSID needs a lot of RAM.
Also add a note that SID might not play in realtime on all targets Change-Id: Ic14b20a7c1427e31e38204ae3ecff6bd235ec1b4
Diffstat (limited to 'lib/rbcodec/codecs')
-rw-r--r--lib/rbcodec/codecs/SOURCES2
-rw-r--r--lib/rbcodec/codecs/codecs.make2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/SOURCES b/lib/rbcodec/codecs/SOURCES
index 78b7b97498..44b79087fe 100644
--- a/lib/rbcodec/codecs/SOURCES
+++ b/lib/rbcodec/codecs/SOURCES
@@ -17,7 +17,6 @@ atrac3_rm.c
atrac3_oma.c
mpc.c
wma.c
-sid.c
ape.c
asap.c
aac.c
@@ -43,6 +42,7 @@ nsf.c
sgc.c
vgm.c
#if MEMORYSIZE > 2
+sid.c
kss.c
#endif
aac_bsf.c
diff --git a/lib/rbcodec/codecs/codecs.make b/lib/rbcodec/codecs/codecs.make
index bc6549498e..27ba73ab3c 100644
--- a/lib/rbcodec/codecs/codecs.make
+++ b/lib/rbcodec/codecs/codecs.make
@@ -65,7 +65,9 @@ include $(RBCODECLIB_DIR)/codecs/libgme/libvgm.make
include $(RBCODECLIB_DIR)/codecs/libgme/libkss.make
include $(RBCODECLIB_DIR)/codecs/libgme/libemu2413.make
include $(RBCODECLIB_DIR)/codecs/libopus/libopus.make
+ifneq ($(MEMORYSIZE),2)
include $(RBCODECLIB_DIR)/codecs/cRSID/cRSID.make
+endif
# set CODECFLAGS per codec lib, since gcc takes the last -Ox and the last
# in a -ffoo -fno-foo pair, there is no need to filter them out