]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh.h
kill file parameter from get_file_info of struct audio format handler
[paraslash.git] / afh.h
diff --git a/afh.h b/afh.h
index 69c1188ed75d294ddfc417567b7bd50967692e85..246cb9200fefc8a601a333ad7f3e82b490beb346 100644 (file)
--- 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,6 +108,7 @@ struct audio_format_handler {
         *
         * \sa struct audio_format_info
        */
-       int (*get_file_info)(FILE *audio_file, struct audio_format_info *afi);
+       int (*get_file_info)(char *map, off_t numbytes,
+               struct audio_format_info *afi);
 };