summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-03 15:27:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-03 15:27:30 -0400
commit2b358ffa7f65d3e67ae58a2f076477dae5bf67d5 (patch)
treeea61f8fd852ccaa7860056d84fa7c934bde97fe2
parent2e708c48c549a947506c5953ae5fc9d10e932f7c (diff)
downloadrockbox-2b358ffa7f65d3e67ae58a2f076477dae5bf67d5.tar.gz
rockbox-2b358ffa7f65d3e67ae58a2f076477dae5bf67d5.zip
Disable 88/96KHz from targets that lack the IRAM to hold the mix buffers
Change-Id: I67b15d4c517a74a23639f8659acbc89022c264b5
-rw-r--r--firmware/export/config/gogearhdd1630.h7
-rw-r--r--firmware/export/config/iaudiom5.h7
-rw-r--r--firmware/export/config/ipodmini1g.h5
-rw-r--r--firmware/export/config/ipodmini2g.h5
-rw-r--r--firmware/export/config/iriverh10.h7
-rw-r--r--firmware/export/config/iriverh100.h8
-rw-r--r--firmware/export/config/iriverh120.h8
-rw-r--r--firmware/export/config/vibe500.h7
8 files changed, 12 insertions, 42 deletions
diff --git a/firmware/export/config/gogearhdd1630.h b/firmware/export/config/gogearhdd1630.h
index e1e40cee0b..4c56646dbf 100644
--- a/firmware/export/config/gogearhdd1630.h
+++ b/firmware/export/config/gogearhdd1630.h
@@ -20,16 +20,13 @@
20#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO) 20#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
21 21
22/* define the bitmask of hardware sample rates */ 22/* define the bitmask of hardware sample rates */
23#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 23#define HW_SAMPR_CAPS (/*SAMPR_CAP_96 | SAMPR_CAP_88 |*/ SAMPR_CAP_48 | \
24 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) 24 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
25 25
26/* define the bitmask of recording sample rates */ 26/* define the bitmask of recording sample rates */
27#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 27#define REC_SAMPR_CAPS (/*SAMPR_CAP_96 | SAMPR_CAP_88 |*/ SAMPR_CAP_48 | \
28 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) 28 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
29 29
30
31
32
33/* define this if you have a colour LCD */ 30/* define this if you have a colour LCD */
34#define HAVE_LCD_COLOR 31#define HAVE_LCD_COLOR
35 32
diff --git a/firmware/export/config/iaudiom5.h b/firmware/export/config/iaudiom5.h
index a597590508..a90b0f061b 100644
--- a/firmware/export/config/iaudiom5.h
+++ b/firmware/export/config/iaudiom5.h
@@ -25,13 +25,10 @@
25#endif 25#endif
26 26
27/* define the bitmask of hardware sample rates */ 27/* define the bitmask of hardware sample rates */
28#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 28#define HW_SAMPR_CAPS (/*SAMPR_CAP_88* |*/ SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
29 29
30/* define the bitmask of recording sample rates */ 30/* define the bitmask of recording sample rates */
31#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 31#define REC_SAMPR_CAPS (/*SAMPR_CAP_88 |*/ SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
32
33
34
35 32
36/* define this if you want album art for this target */ 33/* define this if you want album art for this target */
37#define HAVE_ALBUMART 34#define HAVE_ALBUMART
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h
index abcf237aa9..b8f52ff936 100644
--- a/firmware/export/config/ipodmini1g.h
+++ b/firmware/export/config/ipodmini1g.h
@@ -21,16 +21,13 @@
21#define INPUT_SRC_CAPS (SRC_CAP_FMRADIO) 21#define INPUT_SRC_CAPS (SRC_CAP_FMRADIO)
22 22
23/* define the bitmask of hardware sample rates */ 23/* define the bitmask of hardware sample rates */
24#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 24#define HW_SAMPR_CAPS (/*SAMPR_CAP_96 | SAMPR_CAP_88 |*/ SAMPR_CAP_48 | \
25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) 25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
26 26
27/* define the bitmask of recording sample rates 27/* define the bitmask of recording sample rates
28#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 28#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
29 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */ 29 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
30 30
31
32
33
34/* define this if you want album art for this target */ 31/* define this if you want album art for this target */
35#define HAVE_ALBUMART 32#define HAVE_ALBUMART
36 33
diff --git a/firmware/export/config/ipodmini2g.h b/firmware/export/config/ipodmini2g.h
index f11681978c..c1cd45310c 100644
--- a/firmware/export/config/ipodmini2g.h
+++ b/firmware/export/config/ipodmini2g.h
@@ -21,16 +21,13 @@
21#define INPUT_SRC_CAPS (SRC_CAP_FMRADIO) 21#define INPUT_SRC_CAPS (SRC_CAP_FMRADIO)
22 22
23/* define the bitmask of hardware sample rates */ 23/* define the bitmask of hardware sample rates */
24#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 24#define HW_SAMPR_CAPS (/*SAMPR_CAP_96 | SAMPR_CAP_88 |*/ SAMPR_CAP_48 | \
25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) 25 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
26 26
27/* define the bitmask of recording sample rates 27/* define the bitmask of recording sample rates
28#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 28#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \
29 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */ 29 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) */
30 30
31
32
33
34/* define this if you want album art for this target */ 31/* define this if you want album art for this target */
35#define HAVE_ALBUMART 32#define HAVE_ALBUMART
36 33
diff --git a/firmware/export/config/iriverh10.h b/firmware/export/config/iriverh10.h
index 91ed963b0b..6342a90deb 100644
--- a/firmware/export/config/iriverh10.h
+++ b/firmware/export/config/iriverh10.h
@@ -19,16 +19,13 @@
19#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO) 19#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_FMRADIO)
20 20
21/* define the bitmask of hardware sample rates */ 21/* define the bitmask of hardware sample rates */
22#define HW_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 22#define HW_SAMPR_CAPS (/*SAMPR_CAP_96 | SAMPR_CAP_88 |*/ SAMPR_CAP_48 | \
23 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) 23 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
24 24
25/* define the bitmask of recording sample rates */ 25/* define the bitmask of recording sample rates */
26#define REC_SAMPR_CAPS (SAMPR_CAP_96 | SAMPR_CAP_88 | SAMPR_CAP_48 | \ 26#define REC_SAMPR_CAPS (/*SAMPR_CAP_96 | SAMPR_CAP_88 |*/ SAMPR_CAP_48 | \
27 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8) 27 SAMPR_CAP_44 | SAMPR_CAP_32 | SAMPR_CAP_8)
28 28
29
30
31
32/* define this if you have a colour LCD */ 29/* define this if you have a colour LCD */
33#define HAVE_LCD_COLOR 30#define HAVE_LCD_COLOR
34 31
diff --git a/firmware/export/config/iriverh100.h b/firmware/export/config/iriverh100.h
index 3cff24de4f..bbfab01ba5 100644
--- a/firmware/export/config/iriverh100.h
+++ b/firmware/export/config/iriverh100.h
@@ -14,9 +14,6 @@
14/*define this if the ATA controller and method of USB access support LBA48 */ 14/*define this if the ATA controller and method of USB access support LBA48 */
15#define HAVE_LBA48 15#define HAVE_LBA48
16 16
17
18
19
20/* define this if you want album art for this target */ 17/* define this if you want album art for this target */
21#define HAVE_ALBUMART 18#define HAVE_ALBUMART
22 19
@@ -73,9 +70,6 @@
73/* Define this to enable morse code input */ 70/* Define this to enable morse code input */
74#define HAVE_MORSE_INPUT 71#define HAVE_MORSE_INPUT
75 72
76
77
78
79/* Define this if you have an remote lcd */ 73/* Define this if you have an remote lcd */
80#define HAVE_REMOTE_LCD 74#define HAVE_REMOTE_LCD
81 75
@@ -114,7 +108,7 @@
114#define HAVE_RECORDING 108#define HAVE_RECORDING
115 109
116/* define hardware samples rate caps mask */ 110/* define hardware samples rate caps mask */
117#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 111#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 |*/ SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
118 112
119/* define the bitmask of recording sample rates */ 113/* define the bitmask of recording sample rates */
120#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 114#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
diff --git a/firmware/export/config/iriverh120.h b/firmware/export/config/iriverh120.h
index 70670a0418..77ee1382be 100644
--- a/firmware/export/config/iriverh120.h
+++ b/firmware/export/config/iriverh120.h
@@ -14,9 +14,6 @@
14/*define this if the ATA controller and method of USB access support LBA48 */ 14/*define this if the ATA controller and method of USB access support LBA48 */
15#define HAVE_LBA48 15#define HAVE_LBA48
16 16
17
18
19
20/* define this if you want album art for this target */ 17/* define this if you want album art for this target */
21#define HAVE_ALBUMART 18#define HAVE_ALBUMART
22 19
@@ -73,9 +70,6 @@
73/* Define this to enable morse code input */ 70/* Define this to enable morse code input */
74#define HAVE_MORSE_INPUT 71#define HAVE_MORSE_INPUT
75 72
76
77
78
79/* define this if you have a disk storage, i.e. something 73/* define this if you have a disk storage, i.e. something
80 that needs spinups and can cause skips when shaked */ 74 that needs spinups and can cause skips when shaked */
81#define HAVE_DISK_STORAGE 75#define HAVE_DISK_STORAGE
@@ -121,7 +115,7 @@
121 SRC_CAP_FMRADIO | SRC_CAP_SPDIF) 115 SRC_CAP_FMRADIO | SRC_CAP_SPDIF)
122 116
123/* define hardware samples rate caps mask */ 117/* define hardware samples rate caps mask */
124#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 118#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 |*/ SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
125 119
126/* define the bitmask of recording sample rates */ 120/* define the bitmask of recording sample rates */
127#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 121#define REC_SAMPR_CAPS (SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
diff --git a/firmware/export/config/vibe500.h b/firmware/export/config/vibe500.h
index 0444a2e065..edbc1e321a 100644
--- a/firmware/export/config/vibe500.h
+++ b/firmware/export/config/vibe500.h
@@ -20,13 +20,10 @@
20#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN) 20#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
21 21
22/* define the bitmask of hardware sample rates */ 22/* define the bitmask of hardware sample rates */
23#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 23#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 |*/ SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
24 24
25/* define the bitmask of recording sample rates */ 25/* define the bitmask of recording sample rates */
26#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 26#define REC_SAMPR_CAPS (/*SAMPR_CAP_88 |*/ SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
27
28
29
30 27
31/* define this if you can flip your LCD */ 28/* define this if you can flip your LCD */
32#define HAVE_LCD_FLIP 29#define HAVE_LCD_FLIP