summaryrefslogtreecommitdiff
path: root/firmware/export/id3.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/id3.h')
-rw-r--r--firmware/export/id3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 8f904e49e6..7970f529f1 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -19,6 +19,7 @@
19#ifndef ID3_H 19#ifndef ID3_H
20#define ID3_H 20#define ID3_H
21 21
22#include <stdbool.h>
22#include "config.h" 23#include "config.h"
23#include "file.h" 24#include "file.h"
24 25
@@ -78,12 +79,16 @@ struct mp3entry {
78 unsigned int length; /* song length */ 79 unsigned int length; /* song length */
79 unsigned int elapsed; /* ms played */ 80 unsigned int elapsed; /* ms played */
80 81
82 int lead_trim; /* Number of samples to skip at the beginning */
83 int tail_trim; /* Number of samples to remove from the end */
84
81 /* Added for Vorbis */ 85 /* Added for Vorbis */
82 unsigned long samples; /* number of samples in track */ 86 unsigned long samples; /* number of samples in track */
83 87
84 /* MP3 stream specific info */ 88 /* MP3 stream specific info */
85 long bpf; /* bytes per frame */ 89 long bpf; /* bytes per frame */
86 long tpf; /* time per frame */ 90 long tpf; /* time per frame */
91 long frame_count; /* number of frames in the file (if VBR) */
87 92
88 /* Xing VBR fields */ 93 /* Xing VBR fields */
89 bool vbr; 94 bool vbr;