A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
1#ifndef RBCODECCONFIG_H_INCLUDED
2#define RBCODECCONFIG_H_INCLUDED
3
4#define HAVE_PITCHCONTROL
5#define HAVE_SW_TONE_CONTROLS
6#define HAVE_ALBUMART
7#define NUM_CORES 1
8/* All the same unless a configuration option is added to warble */
9#define DSP_OUT_MIN_HZ 44100
10#define DSP_OUT_DEFAULT_HZ 44100
11#define DSP_OUT_MAX_HZ 44100
12
13#ifndef __ASSEMBLER__
14
15/* {,u}int{8,16,32,64}_t, {,U}INT{8,16,32,64}_{MIN,MAX}, intptr_t, uintptr_t */
16#include <inttypes.h>
17
18/* bool, true, false */
19#include <stdbool.h>
20
21/* NULL, offsetof, size_t */
22#include <stddef.h>
23
24/* ssize_t, off_t, open, close, read, lseek, SEEK_SET, SEEK_CUR, SEEK_END */
25#include <unistd.h>
26
27/* MAX_PATH, {UCHAR,USHRT,UINT,ULONG,SCHAR,SHRT,INT,LONG}_{MIN,MAX} */
28#include <limits.h>
29// FIXME changing MAX_PATH is broken for now
30//#define MAX_PATH PATH_MAX
31// set same as rb to avoid dragons
32#define MAX_PATH 260
33#endif
34
35#endif