projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4ecbd8
)
ogg_afh.c: add documentation of struct ogg_datasource
author
Andre Noll
<maan@systemlinux.org>
Sun, 3 Jun 2007 21:58:44 +0000
(23:58 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 3 Jun 2007 21:58:44 +0000
(23:58 +0200)
ogg_afh.c
patch
|
blob
|
history
diff --git
a/ogg_afh.c
b/ogg_afh.c
index d5c4726269b4d30c889f16340cb5f2ca5e86c640..6a66b8e38c2c3d199b2a12443fca07aaf59d4acc 100644
(file)
--- 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;
};