X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh.h;h=246cb9200fefc8a601a333ad7f3e82b490beb346;hb=99054bc0013b3592b311027662bbacb6df49a4e2;hp=e7ca2820d92c0bc517f92b224efd12507d8dd716;hpb=21a0bd773519c5bd39a5293f2e66ea59add8d0a9;p=paraslash.git diff --git a/afh.h b/afh.h index e7ca2820..246cb920 100644 --- a/afh.h +++ b/afh.h @@ -70,7 +70,7 @@ struct audio_format_info { * file header. */ char *header; - /* the length of the header, ignored if \a header is \p NULL */ + /** the length of the header, ignored if \a header is \p NULL */ unsigned header_len; }; @@ -108,14 +108,7 @@ struct audio_format_handler { * * \sa struct audio_format_info */ - int (*get_file_info)(FILE *audio_file, struct audio_format_info *afi); - /** - * cleanup function of this audio format handler - * - * This close function should deallocate any resources - * associated with the current audio file. In particular, it is responsible - * for closing the file handle. It is assumed to succeed. - */ - void (*close_audio_file)(void); + int (*get_file_info)(char *map, off_t numbytes, + struct audio_format_info *afi); };