summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-15 16:22:04 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-15 16:22:04 +0200
commita97421cbb3fa6337b639815b0a86c621044db19a (patch)
tree4952ed35b9ced6931c58bd928cb7b016593677cf /playlist.h
parentf433cb2a70bd6bf87b03bf1fd6d012c6e46af695 (diff)
improved duration calculation for cbr mp3 files with tags
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/playlist.h b/playlist.h
index 8b565e32..5c315c2d 100644
--- a/playlist.h
+++ b/playlist.h
@@ -36,6 +36,8 @@ typedef struct playItem_s {
float timestart; // start time of cue track, or -1
float timeend; // end time of cue track, or -1
float duration; // in seconds
+ int startoffset; // offset to seek to skip tags and info-headers (mp3)
+ int endoffset; // offset from end of file where music data ends (mp3)
const char *filetype; // e.g. MP3 or OGG
struct playItem_s *next[PL_MAX_ITERATORS]; // next item in linked list
struct playItem_s *prev[PL_MAX_ITERATORS]; // prev item in linked list