summaryrefslogtreecommitdiff
path: root/apps/metadata.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-02 15:12:55 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-02 15:12:55 +0000
commit35bcdef1441519bb66a77b675013309ef39e9eec (patch)
tree62a3ebcfecb0a4a582d5bd1998e29be066e090e0 /apps/metadata.h
parent0f4dfc4e9d4c2cbae69442e415639476c73478b2 (diff)
downloadrockbox-35bcdef1441519bb66a77b675013309ef39e9eec.tar.gz
rockbox-35bcdef1441519bb66a77b675013309ef39e9eec.zip
Find a more consistent and resilient way to handle SBR upsampled files. The detection is only done in one place (the metadata parser) and takes into account that the m4a header might already report corrected frame/sample sizes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29188 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.h')
-rw-r--r--apps/metadata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index f366aea61c..93b9891763 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -240,6 +240,10 @@ struct mp3entry {
240 /* Added for ATRAC3 */ 240 /* Added for ATRAC3 */
241 unsigned int channels; /* Number of channels in the stream */ 241 unsigned int channels; /* Number of channels in the stream */
242 unsigned int extradata_size; /* Size (in bytes) of the codec's extradata from the container */ 242 unsigned int extradata_size; /* Size (in bytes) of the codec's extradata from the container */
243
244 /* Added for AAC HE SBR */
245 bool needs_upsampling_correction; /* flag used by aac codec */
246
243 /* these following two fields are used for local buffering */ 247 /* these following two fields are used for local buffering */
244 char id3v2buf[ID3V2_BUF_SIZE]; 248 char id3v2buf[ID3V2_BUF_SIZE];
245 char id3v1buf[4][92]; 249 char id3v1buf[4][92];