summaryrefslogtreecommitdiff
path: root/apps/metadata.h
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 /apps/metadata.h
parent800e3d9a978b246c3a49bd51e65b4de94fa668e4 (diff)
downloadrockbox-0070a0185990d3f1dc5fed2652e2fd9a5b5df609.zip
rockbox-0070a0185990d3f1dc5fed2652e2fd9a5b5df609.tar.gz
rockbox-0070a0185990d3f1dc5fed2652e2fd9a5b5df609.tar.bz2
rockbox-0070a0185990d3f1dc5fed2652e2fd9a5b5df609.tar.xz
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
Diffstat (limited to 'apps/metadata.h')
-rw-r--r--apps/metadata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata.h b/apps/metadata.h
index b83c549..bd9cd27 100644
--- a/apps/metadata.h
+++ b/apps/metadata.h
@@ -227,6 +227,9 @@ struct mp3entry {
bool has_toc; /* True if there is a VBR header in the file */
unsigned char toc[100]; /* table of contents */
+ /* Added for ATRAC3 */
+ unsigned int channels; /* Number of channels in the stream */
+ unsigned int extradata_size; /* Size (in bytes) of the codec's extradata from the container */
/* these following two fields are used for local buffering */
char id3v2buf[ID3V2_BUF_SIZE];
char id3v1buf[4][92];