X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=vss.c;h=c11897020d80afb4066b4abd80714798d43f6e4e;hb=8eb5a15bfcc068e8d2504bb84b14455e9fc7c3ba;hp=1bd74de69f6d83f0f4e2ef2b28fe3c657d107f17;hpb=01556501c32d5ec155cc7e2cd78307ec1f177a07;p=paraslash.git diff --git a/vss.c b/vss.c index 1bd74de6..c1189702 100644 --- a/vss.c +++ b/vss.c @@ -65,15 +65,25 @@ enum afs_socket_status { /** The task structure for the virtual streaming system. */ struct vss_task { + /** Copied from the -announce_time command line option. */ struct timeval announce_tv; + /** End of the announcing interval. */ struct timeval data_send_barrier; + /** End of the EOF interval. */ struct timeval eof_barrier; + /** Only used if --autoplay_delay was given. */ struct timeval autoplay_barrier; + /** Used for afs-server communication. */ int afs_socket; + /** The current state of \a afs_socket. */ enum afs_socket_status afsss; + /** The memory mapped audio file. */ char *map; + /** Used by the scheduler. */ struct task task; + /** Pointer to the header of the mapped audio file. */ const char *header_buf; + /** Length of the audio file header. */ size_t header_len; };