summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/mp3data.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/mp3data.h b/firmware/export/mp3data.h
index 833a4c9dfa..c031cc20ce 100644
--- a/firmware/export/mp3data.h
+++ b/firmware/export/mp3data.h
@@ -43,9 +43,9 @@ struct mp3info {
43 bool is_xing_vbr; /* True if the VBR header is of Xing type */ 43 bool is_xing_vbr; /* True if the VBR header is of Xing type */
44 bool is_vbri_vbr; /* True if the VBR header is of VBRI type */ 44 bool is_vbri_vbr; /* True if the VBR header is of VBRI type */
45 unsigned char toc[100]; 45 unsigned char toc[100];
46 int frame_count; /* Number of frames in the file (if VBR) */ 46 long frame_count; /* Number of frames in the file (if VBR) */
47 int byte_count; /* File size in bytes */ 47 long byte_count; /* File size in bytes */
48 int file_time; /* Length of the whole file in milliseconds */ 48 long file_time; /* Length of the whole file in milliseconds */
49 int vbr_header_pos; 49 int vbr_header_pos;
50}; 50};
51 51
@@ -55,8 +55,8 @@ struct mp3info {
55#define VBR_TOC_FLAG 0x04 55#define VBR_TOC_FLAG 0x04
56 56
57 57
58unsigned long find_next_frame(int fd, int *offset, int max_offset, unsigned long last_header); 58unsigned long find_next_frame(int fd, long *offset, long max_offset, unsigned long last_header);
59unsigned long mem_find_next_frame(int startpos, int *offset, int max_offset, 59unsigned long mem_find_next_frame(int startpos, long *offset, long max_offset,
60 unsigned long last_header); 60 unsigned long last_header);
61int get_mp3file_info(int fd, struct mp3info *info); 61int get_mp3file_info(int fd, struct mp3info *info);
62int count_mp3_frames(int fd, int startpos, int filesize, 62int count_mp3_frames(int fd, int startpos, int filesize,