summaryrefslogtreecommitdiff
path: root/firmware/export/general.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 00:01:32 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit8cb555460ff79e636a7907fb2589e16db98c8600 (patch)
tree930a3878c7641c9ce045b24f0ade1309e36d5806 /firmware/export/general.h
parent0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff)
downloadrockbox-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/general.h')
-rw-r--r--firmware/export/general.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/export/general.h b/firmware/export/general.h
index 16c824086b..9762823998 100644
--- a/firmware/export/general.h
+++ b/firmware/export/general.h
@@ -26,7 +26,6 @@
26#include <stddef.h> 26#include <stddef.h>
27#include "config.h" 27#include "config.h"
28 28
29#if CONFIG_CODEC == SWCODEC
30/* round a signed/unsigned 32bit value to the closest of a list of values */ 29/* round a signed/unsigned 32bit value to the closest of a list of values */
31/* returns the index of the closest value */ 30/* returns the index of the closest value */
32int round_value_to_list32(unsigned long value, 31int round_value_to_list32(unsigned long value,
@@ -38,7 +37,6 @@ int make_list_from_caps32(unsigned long src_mask,
38 const unsigned long *src_list, 37 const unsigned long *src_list,
39 unsigned long caps_mask, 38 unsigned long caps_mask,
40 unsigned long *caps_list); 39 unsigned long *caps_list);
41#endif /* CONFIG_CODEC == SWCODEC */
42 40
43/* Create a filename with a number part in a way that the number is 1 41/* Create a filename with a number part in a way that the number is 1
44 * higher than the highest numbered file matching the same pattern. 42 * higher than the highest numbered file matching the same pattern.