From: Andre Noll Date: Sat, 24 Mar 2007 17:14:57 +0000 (+0100) Subject: afh: add additional fields channels, frequency, and bitrate to struct audio_format X-Git-Tag: v0.2.16~7^2~7 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=6ef3d51cbb57d90c187a116966cc7b2226b9d1f1;p=paraslash.git afh: add additional fields channels, frequency, and bitrate to struct audio_format The idea is that these quantieties are computed by each audio format handler anyway. So create a common place for them to store that info. This way it may be used by vss and by afs. --- diff --git a/afh.h b/afh.h index 5cc0371a..e365df86 100644 --- a/afh.h +++ b/afh.h @@ -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; }; /**