summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-31 12:15:04 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-31 12:15:04 +0200
commitd528a3051f1f4f1fc9e24fb5442158b28341f750 (patch)
tree63a9f9a9a7a1e92d767e148bcf95eead6638d738 /deadbeef.h
parent15423d482c3db70356c9a8cfcf858eb00911efcd (diff)
metadata writing infrastructure
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 89f7361e..d7434d02 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -505,7 +505,6 @@ typedef struct DB_fileinfo_s {
// decoder plugin
typedef struct DB_decoder_s {
DB_plugin_t plugin;
-// DB_fileinfo_t info;
// init is called to prepare song to be started
DB_fileinfo_t *(*init) (DB_playItem_t *it);
@@ -536,6 +535,8 @@ typedef struct DB_decoder_s {
int (*numvoices) (DB_fileinfo_t *info);
void (*mutevoice) (DB_fileinfo_t *info, int voice, int mute);
+ int (*write_metadata) (DB_playItem_t *it);
+
// NULL terminated array of all supported extensions
const char **exts;