diff options
Diffstat (limited to 'lib/rbcodec/rbcodecconfig-example.h')
-rw-r--r-- | lib/rbcodec/rbcodecconfig-example.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/rbcodec/rbcodecconfig-example.h b/lib/rbcodec/rbcodecconfig-example.h new file mode 100644 index 0000000000..ad0f296a23 --- /dev/null +++ b/lib/rbcodec/rbcodecconfig-example.h | |||
@@ -0,0 +1,32 @@ | |||
1 | #ifndef RBCODECCONFIG_H_INCLUDED | ||
2 | #define RBCODECCONFIG_H_INCLUDED | ||
3 | |||
4 | #define HAVE_PITCHSCREEN | ||
5 | //#define HAVE_SW_VOLUME_CONTROL | ||
6 | #define HAVE_SW_TONE_CONTROLS | ||
7 | #define HAVE_ALBUMART | ||
8 | #define NUM_CORES 1 | ||
9 | |||
10 | #ifndef __ASSEMBLER__ | ||
11 | |||
12 | /* {,u}int{8,16,32,64}_t, {,U}INT{8,16,32,64}_{MIN,MAX}, intptr_t, uintptr_t */ | ||
13 | #include <inttypes.h> | ||
14 | |||
15 | /* bool, true, false */ | ||
16 | #include <stdbool.h> | ||
17 | |||
18 | /* NULL, offsetof, size_t */ | ||
19 | #include <stddef.h> | ||
20 | |||
21 | /* ssize_t, off_t, open, close, read, lseek, SEEK_SET, SEEK_CUR, SEEK_END */ | ||
22 | #include <unistd.h> | ||
23 | |||
24 | /* MAX_PATH, {UCHAR,USHRT,UINT,ULONG,SCHAR,SHRT,INT,LONG}_{MIN,MAX} */ | ||
25 | #include <limits.h> | ||
26 | // FIXME changing MAX_PATH is broken for now | ||
27 | //#define MAX_PATH PATH_MAX | ||
28 | // set same as rb to avoid dragons | ||
29 | #define MAX_PATH 260 | ||
30 | #endif | ||
31 | |||
32 | #endif | ||