X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.h;h=77874108a056c73707f2b39516168558bf1b4e80;hp=35b7a70e4dff72220f4550f4fbecc6dffdc48710;hb=e9656de3ac6d281f585e5a60629d13631c569ae3;hpb=aee7bc654a67f45556ad2c6dc0e98a06bc95c8ff diff --git a/afh.h b/afh.h index 35b7a70e..77874108 100644 --- a/afh.h +++ b/afh.h @@ -103,16 +103,4 @@ struct audio_format_handler { * for closing the file handle. It is assumed to succeed. */ void (*close_audio_file)(void); - /** - * function responsible for reading one data chunk. - * - * \a read_chunk() must return a pointer to the next chunk of data that should - * be sent out, or \p NULL on errors or if the end of the file was encountered. - * - * If it returns non-NULL, \a len must contain the length of the returned - * buffer (which may be zero if nothing has to be sent for some reason). - * Otherwise, \a len is used to distinguish between the eof and the error case: - * It must be zero in the eof case, or negative if an error occcured. - */ - char * (*read_chunk)(long unsigned chunk_num, ssize_t *len); };