X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.h;h=e365df86569337ba767cfe9601f81c3ba39c939c;hp=daac3279729ab5f9001a2f4e15366b21943c2d1e;hb=e402aa45bbac0b078fefc88ed6dd108cbae6e743;hpb=77aa550660c490ef33bc42f7185516708908d022 diff --git a/afh.h b/afh.h index daac3279..e365df86 100644 --- a/afh.h +++ b/afh.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2006 Andre Noll + * Copyright (C) 2005-2007 Andre Noll * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -72,6 +72,9 @@ struct audio_format_info { char *header; /** the length of the header, ignored if \a header is \p NULL */ unsigned header_len; + uint8_t channels; + uint16_t frequency; + uint16_t bitrate; }; /** @@ -108,6 +111,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); };