Index: apps/playback.c =================================================================== --- apps/playback.c (revision 22682) +++ apps/playback.c (working copy) @@ -29,6 +29,7 @@ #include #include "system.h" +#include "config.h" #include "thread.h" #include "file.h" #include "panic.h" @@ -1669,13 +1670,18 @@ } } +/* disable buffering of codec file in ringbuffer for low memory targets*/ +/* stable MP3 playing to be tested, issue is automatic skip with new */ +/* codec, cuesheets may also be an issue */ + +#if MEMORYSIZE > 2 codec_get_full_path(codec_path, codec_fn); - tracks[track_widx].codec_hid = bufopen(codec_path, 0, TYPE_CODEC); if (tracks[track_widx].codec_hid < 0) return false; logf("Loaded codec"); +#endif return true; }