From 6ef3d51cbb57d90c187a116966cc7b2226b9d1f1 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 24 Mar 2007 18:14:57 +0100 Subject: [PATCH] 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. --- afh.h | 3 +++ 1 file changed, 3 insertions(+) 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; }; /** -- 2.39.2