projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ff75c
)
afh: add additional fields channels, frequency, and bitrate to struct audio_format
author
Andre Noll
<maan@systemlinux.org>
Sat, 24 Mar 2007 17:14:57 +0000
(18:14 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 24 Mar 2007 17:14:57 +0000
(18:14 +0100)
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
patch
|
blob
|
history
diff --git
a/afh.h
b/afh.h
index 5cc0371a6193b6e67028af876282250c10dd0ff7..e365df86569337ba767cfe9601f81c3ba39c939c 100644
(file)
--- 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;
};
/**