summaryrefslogtreecommitdiffstats
path: root/firmware/export/mp3data.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-09-04 21:55:15 +0000
committerJens Arnold <amiconn@rockbox.org>2005-09-04 21:55:15 +0000
commit9352ac86680a2507b657c141029d831447f1bed8 (patch)
treeaab63cecd6cf9a6198c8d3fea202f41b63569668 /firmware/export/mp3data.h
parentb7caf5ba6321b7a42bab113b571c5968ac3af064 (diff)
downloadrockbox-9352ac86680a2507b657c141029d831447f1bed8.tar.gz
rockbox-9352ac86680a2507b657c141029d831447f1bed8.tar.bz2
rockbox-9352ac86680a2507b657c141029d831447f1bed8.zip
Archos recording: Always prepend ID3V2 and Xing header to a recording file, even with prerecording and file splitting. Adjusted Xing header creation to create smaller headers. Fixed missing break; in the mpeg thread.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/mp3data.h')
-rw-r--r--firmware/export/mp3data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/mp3data.h b/firmware/export/mp3data.h
index a7f2e3d7f0..db1a93b8d6 100644
--- a/firmware/export/mp3data.h
+++ b/firmware/export/mp3data.h
@@ -57,6 +57,8 @@ struct mp3info {
#define VBR_TOC_FLAG 0x04
#define VBR_QUALITY_FLAG 0x08
+#define MAX_XING_HEADER_SIZE 288
+
unsigned long find_next_frame(int fd, long *offset, long max_offset, unsigned long last_header);
unsigned long mem_find_next_frame(int startpos, long *offset, long max_offset,
unsigned long last_header);