diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/id3.h | 2 | ||||
-rw-r--r-- | firmware/export/mp3data.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h index 30be4bf883..a9ab9ef36f 100644 --- a/firmware/export/id3.h +++ b/firmware/export/id3.h | |||
@@ -39,7 +39,7 @@ struct mp3entry { | |||
39 | unsigned int first_frame_offset; /* Byte offset to first real MP3 frame. | 39 | unsigned int first_frame_offset; /* Byte offset to first real MP3 frame. |
40 | Used for skipping leading garbage to | 40 | Used for skipping leading garbage to |
41 | avoid gaps between tracks. */ | 41 | avoid gaps between tracks. */ |
42 | unsigned int xing_header_pos; | 42 | unsigned int vbr_header_pos; |
43 | unsigned int filesize; /* in bytes */ | 43 | unsigned int filesize; /* in bytes */ |
44 | unsigned int length; /* song length */ | 44 | unsigned int length; /* song length */ |
45 | unsigned int elapsed; /* ms played */ | 45 | unsigned int elapsed; /* ms played */ |
diff --git a/firmware/export/mp3data.h b/firmware/export/mp3data.h index a1018ebaa2..54a6899a78 100644 --- a/firmware/export/mp3data.h +++ b/firmware/export/mp3data.h | |||
@@ -46,7 +46,7 @@ struct mp3info { | |||
46 | int frame_count; /* Number of frames in the file (if VBR) */ | 46 | int frame_count; /* Number of frames in the file (if VBR) */ |
47 | int byte_count; /* File size in bytes */ | 47 | int byte_count; /* File size in bytes */ |
48 | int file_time; /* Length of the whole file in milliseconds */ | 48 | int file_time; /* Length of the whole file in milliseconds */ |
49 | int xing_header_pos; | 49 | int vbr_header_pos; |
50 | }; | 50 | }; |
51 | 51 | ||
52 | /* Xing header information */ | 52 | /* Xing header information */ |
@@ -61,6 +61,6 @@ int count_mp3_frames(int fd, int startpos, int filesize, | |||
61 | void (*progressfunc)(int)); | 61 | void (*progressfunc)(int)); |
62 | int create_xing_header(int fd, int startpos, int filesize, | 62 | int create_xing_header(int fd, int startpos, int filesize, |
63 | unsigned char *buf, int num_frames, | 63 | unsigned char *buf, int num_frames, |
64 | void (*progressfunc)(int)); | 64 | void (*progressfunc)(int), bool generate_toc); |
65 | 65 | ||
66 | #endif | 66 | #endif |