bufopen: Add support for data types that can't wrap.
[Rockbox-MoB.git] / helpers.h
blobe4a3925bb53ba3875131d0c506bf47f56580ce04
1 #ifndef _AUX_H_
2 #define _AUX_H_
4 #include <sys/types.h>
6 #define HZ 1
7 /* amount of data to read in one read() call */
8 #define AUDIO_DEFAULT_FILECHUNK (1024*32)
10 #ifndef MIN
11 #define MIN(a, b) (((a)<(b))?(a):(b))
12 #endif
14 #define DEBUGF printf
16 off_t filesize(int fd);
18 #endif