summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index a53df90d67..e2a5771b5c 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -828,12 +828,14 @@ struct plugin_api {
828#endif /* CONFIG_CODEC == SWCODEC */ 828#endif /* CONFIG_CODEC == SWCODEC */
829 bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname); 829 bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname);
830 bool (*mp3info)(struct mp3entry *entry, const char *filename); 830 bool (*mp3info)(struct mp3entry *entry, const char *filename);
831 int (*count_mp3_frames)(int fd, int startpos, int filesize, 831 int (*count_mp3_frames)(int fd, int startpos, int filesize,
832 void (*progressfunc)(int)); 832 void (*progressfunc)(int),
833 unsigned char* buf, size_t buflen);
833 int (*create_xing_header)(int fd, long startpos, long filesize, 834 int (*create_xing_header)(int fd, long startpos, long filesize,
834 unsigned char *buf, unsigned long num_frames, 835 unsigned char *buf, unsigned long num_frames,
835 unsigned long rec_time, unsigned long header_template, 836 unsigned long rec_time, unsigned long header_template,
836 void (*progressfunc)(int), bool generate_toc); 837 void (*progressfunc)(int), bool generate_toc,
838 unsigned char* tempbuf, size_t tempbuf_len);
837 unsigned long (*find_next_frame)(int fd, long *offset, 839 unsigned long (*find_next_frame)(int fd, long *offset,
838 long max_offset, unsigned long reference_header); 840 long max_offset, unsigned long reference_header);
839 841