X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh.h;h=b3295f6e2fda111bd30ec5d20cd2431bbea325a6;hb=2bad70d84e763b4d866d7b97dbc1cdc8e030bd45;hp=eb5392361512c9f021b5f9580259383cc67db7ba;hpb=c4504b23059c36632309f7524b4263fe0a1c234f;p=paraslash.git diff --git a/afh.h b/afh.h index eb539236..b3295f6e 100644 --- a/afh.h +++ b/afh.h @@ -58,8 +58,6 @@ struct afh_info { /** Data about the current audio file, passed from afs to server. */ struct audio_file_data { - /** The open file descriptor to the current audio file. */ - int fd; /** Vss needs this for streaming. */ struct afh_info afhi; /** @@ -80,12 +78,6 @@ struct audio_file_data { * in the other part of this struct. */ struct audio_format_handler { - /** - * 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; /** @@ -133,7 +125,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);