X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.h;h=881db3c24217beff8d2885e1d62c05f3419aa404;hp=d2ac93aec96f95a0ca0bf706327f831520145ee7;hb=57a338b4f7a8346708636de18780eaec52750e96;hpb=e5de57de1b8bf1df96c152fc92f5a49f75d6d96c diff --git a/afh.h b/afh.h index d2ac93ae..881db3c2 100644 --- a/afh.h +++ b/afh.h @@ -80,14 +80,6 @@ struct audio_file_data { * in the other part of this struct. */ struct audio_format_handler { - /** Name of the audio format. */ - const char *name; - /** - * Pointer to the audio format handler's init function. - * - * Must initialize all function pointers and is assumed to succeed. - */ - void (*init)(struct audio_format_handler*); /** Typical file endings for files that can be handled by this afh. */ const char * const *suffixes; /** @@ -135,7 +127,6 @@ struct audio_format_handler { int output_fd, const char *filename); }; -void afh_init(void); int guess_audio_format(const char *name); int compute_afhi(const char *path, char *data, size_t size, int fd, struct afh_info *afhi);