X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.h;h=52d50a9103c8093a840c9b8e09003ad764f69c1f;hp=9ad078582e156be166b7c06dc35100549a26f337;hb=a6e79f02b6eab623425686f8f3cab5bc942e77d4;hpb=b3ee0fa979a74e9d7a1497ec5a3ac8fa7cc7472b diff --git a/afh.h b/afh.h index 9ad07858..52d50a91 100644 --- a/afh.h +++ b/afh.h @@ -30,7 +30,7 @@ * Audio format dependent information. Details vary between each audio format * handler. */ -struct audio_format_info { +struct afh_info { /** The number of chunks this audio file contains. */ long unsigned chunks_total; /** The length of the audio file in seconds. */ @@ -93,16 +93,16 @@ struct audio_format_handler { * valid for this audio format. A negative return value indicates that * this audio format handler is unable to decode the given file. On * success, the function must return a positive value and fill in the - * given struct audio_format_info. + * given struct afh_info. * - * \sa struct audio_format_info + * \sa struct afh_info */ int (*get_file_info)(char *map, size_t numbytes, - struct audio_format_info *afi); + struct afh_info *afi); }; void afh_init(void); int guess_audio_format(const char *name); int compute_afhi(const char *path, char *data, size_t size, - struct audio_format_info *afhi); + struct afh_info *afhi); const char *audio_format_name(int);