X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ogg_afh.c;h=6a66b8e38c2c3d199b2a12443fca07aaf59d4acc;hp=d5c4726269b4d30c889f16340cb5f2ca5e86c640;hb=33713473b1051c2d9f487c66a92a5cbdf1277ce3;hpb=c4ecbd8f75be7847f7332dd64f11a0ba54233891 diff --git a/ogg_afh.c b/ogg_afh.c index d5c47262..6a66b8e3 100644 --- a/ogg_afh.c +++ b/ogg_afh.c @@ -30,9 +30,13 @@ #define CHUNK_SIZE 32768 static double chunk_time = 0.25; +/** describes a memory-mapped ogg vorbis file */ struct ogg_datasource { + /** the memory mapping */ char *map; + /** this size of the mapping */ off_t numbytes; + /** the current position in the mapping */ off_t fpos; };