Commit dde89b0c authored by Gildas Bazin's avatar Gildas Bazin

* src/input/stream.c: use less memory for the stream cache when OPTIMIZE_MEMORY is defined.

parent 6bb8e8f4
......@@ -27,10 +27,6 @@
#include "input_internal.h"
#ifdef UNDER_CE
# define LOW_MEM
#endif
/* TODO:
* - tune the 2 methods
* - compute cost for seek
......@@ -45,8 +41,8 @@
* More complex scheme using mutliple track to avoid seeking
*/
/* How many track we have, currently only used for stream mode */
#ifdef LOW_MEM
/* How many tracks we have, currently only used for stream mode */
#ifdef OPTIMIZE_MEMORY
# define STREAM_CACHE_TRACK 1
/* Max size of our cache 128Ko per track */
# define STREAM_CACHE_SIZE (STREAM_CACHE_TRACK*1024*128)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment