summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-10-22 09:10:51 +0000
committerDave Chapman <dave@dchapman.com>2005-10-22 09:10:51 +0000
commit1a82763d3ada3c668e27a54b64bfb1f74370fe88 (patch)
treed790eda069fb51b8bad1b3a84d49d5874e24d888 /firmware
parentaaf36caeb65dbe3f312bb96a9670822a9cb7901b (diff)
downloadrockbox-1a82763d3ada3c668e27a54b64bfb1f74370fe88.tar.gz
rockbox-1a82763d3ada3c668e27a54b64bfb1f74370fe88.tar.bz2
rockbox-1a82763d3ada3c668e27a54b64bfb1f74370fe88.zip
Seeking support for AC3/A52 files. We assume they are always CBR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7650 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/id3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index deb6ba29d5..1e75353d89 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -82,6 +82,9 @@ struct mp3entry {
/* MP3 stream specific info */
unsigned long frame_count; /* number of frames in the file (if VBR) */
+ /* Used for A52/AC3 */
+ unsigned long bytesperframe; /* number of bytes per frame (if CBR) */
+
/* Xing VBR fields */
bool vbr;
bool has_toc; /* True if there is a VBR header in the file */