diff options
author | waker <wakeroid@gmail.com> | 2009-08-15 16:22:04 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-15 16:22:04 +0200 |
commit | a97421cbb3fa6337b639815b0a86c621044db19a (patch) | |
tree | 4952ed35b9ced6931c58bd928cb7b016593677cf /playlist.h | |
parent | f433cb2a70bd6bf87b03bf1fd6d012c6e46af695 (diff) |
improved duration calculation for cbr mp3 files with tags
Diffstat (limited to 'playlist.h')
-rw-r--r-- | playlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |