summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-09-03 21:48:05 +0200
committerGravatar waker <wakeroid@gmail.com>2009-09-03 21:48:05 +0200
commitc92e90a5159ac7a81b6f859b16779cea804707ef (patch)
treeb28fb395317d9752e8290d8bf8595179e1551553 /deadbeef.h
parentbdd655e1d6dc660a81529ba06b82f91670d11d6f (diff)
tag reader is now exposed through plugin API; fixed some mp3 parsing problems
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 8192a13d..68911515 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -29,6 +29,7 @@
#include <stdint.h>
#include <time.h>
+#include <stdio.h>
#ifdef __cplusplus
extern "C" {
@@ -153,6 +154,11 @@ typedef struct {
float (*volume_get_db) (void);
void (*volume_set_amp) (float amp);
float (*volume_get_amp) (void);
+ // junk reading
+ int (*junk_read_id3v1) (DB_playItem_t *it, FILE *fp);
+ int (*junk_read_id3v2) (DB_playItem_t *it, FILE *fp);
+ int (*junk_read_ape) (DB_playItem_t *it, FILE *fp);
+ int (*junk_get_leading_size) (FILE *fp);
} DB_functions_t;
// base plugin interface