summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-11 20:41:38 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-11 20:41:38 +0100
commit1c328c9601ff4d9771ba1bf99f0f42c3caf32297 (patch)
tree1b960a7586346ddb4d3b7babe9e31733454cf337 /playlist.h
parent8f873b3b3a992da897a029a1cf19b32168440f39 (diff)
runtime linking of playlist tracks to decoder plugins is done via strings instead of pointers (to allow easy unloading of decoders)
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/playlist.h b/playlist.h
index 26824f68..59c67139 100644
--- a/playlist.h
+++ b/playlist.h
@@ -31,7 +31,8 @@ typedef struct metaInfo_s {
typedef struct playItem_s {
char *fname; // full pathname
- struct DB_decoder_s *decoder; // codec to use with this file
+// struct DB_decoder_s *decoder; // codec to use with this file
+ const char *decoder_id;
int tracknum; // used for stuff like sid, nsf, cue (will be ignored by most codecs)
int startsample;
int endsample;