summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-02-16 01:24:11 +0000
committerMohamed Tarek <mt@rockbox.org>2010-02-16 01:24:11 +0000
commit0070a0185990d3f1dc5fed2652e2fd9a5b5df609 (patch)
treea637788561af565f2eecb6b088644399a32a2b5c
parent800e3d9a978b246c3a49bd51e65b4de94fa668e4 (diff)
downloadrockbox-0070a0185990d3f1dc5fed2652e2fd9a5b5df609.tar.gz
rockbox-0070a0185990d3f1dc5fed2652e2fd9a5b5df609.zip
Add two extra fields to struct mp3entry, in preparation for making ATRAC3 more generic. (i.e, to avoid having to pass it RMContext even when the codec has nothing to do with rm.)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24680 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/metadata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index b83c5497bf..bd9cd27eca 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -227,6 +227,9 @@ struct mp3entry {
227 bool has_toc; /* True if there is a VBR header in the file */ 227 bool has_toc; /* True if there is a VBR header in the file */
228 unsigned char toc[100]; /* table of contents */ 228 unsigned char toc[100]; /* table of contents */
229 229
230 /* Added for ATRAC3 */
231 unsigned int channels; /* Number of channels in the stream */
232 unsigned int extradata_size; /* Size (in bytes) of the codec's extradata from the container */
230 /* these following two fields are used for local buffering */ 233 /* these following two fields are used for local buffering */
231 char id3v2buf[ID3V2_BUF_SIZE]; 234 char id3v2buf[ID3V2_BUF_SIZE];
232 char id3v1buf[4][92]; 235 char id3v1buf[4][92];