set default buffer sizes

This commit is contained in:
philippe44
2019-07-04 07:05:03 -07:00
parent 985fccb18d
commit ff216626fe
2 changed files with 7 additions and 0 deletions

View File

@@ -240,8 +240,13 @@
#endif // !LINKALL
// config options
#if !EMBEDDED
#define STREAMBUF_SIZE (2 * 1024 * 1024)
#define OUTPUTBUF_SIZE (44100 * 8 * 10)
#else
#define STREAMBUF_SIZE (480 * 1024)
#define OUTPUTBUF_SIZE (1450 * 1024)
#endif
#define OUTPUTBUF_SIZE_CROSSFADE (OUTPUTBUF_SIZE * 12 / 10)
#define MAX_HEADER 4096 // do not reduce as icy-meta max is 4080