diff options
author | Will Tiffany <will.tiffany@gmail.com> | 2015-08-25 06:11:45 -0400 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-09-17 22:44:47 +0200 |
commit | 8461d71b5202a973a514804bf6cf3e1c8ab073bc (patch) | |
tree | eef8246cbfe76138d301e0c1920157a44bdf66ed /src/playlist/cue/CueParser.hxx | |
parent | e31cdf0df9604450f5b5a34ab43877f22479236c (diff) | |
download | mpd-8461d71b5202a973a514804bf6cf3e1c8ab073bc.tar.gz mpd-8461d71b5202a973a514804bf6cf3e1c8ab073bc.tar.xz mpd-8461d71b5202a973a514804bf6cf3e1c8ab073bc.zip |
CueParser.cxx: Append pregap to previous track
Only ignore indexes after first nonzero, preserving pregaps but
appending them to the previous track instead of prepending to the
current. The first index of the first track is used for the start time
regardless of its number. Unneeded bool last_updated removed.
Diffstat (limited to 'src/playlist/cue/CueParser.hxx')
-rw-r--r-- | src/playlist/cue/CueParser.hxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/playlist/cue/CueParser.hxx b/src/playlist/cue/CueParser.hxx index 07010f7c4..925f1234c 100644 --- a/src/playlist/cue/CueParser.hxx +++ b/src/playlist/cue/CueParser.hxx @@ -89,12 +89,6 @@ class CueParser { DetachedSong *finished; /** - * Set to true after previous.end_time has been updated to the - * start time of the current song. - */ - bool last_updated; - - /** * Tracks whether cue_parser_finish() has been called. If * true, then all remaining (partial) results will be * delivered by cue_parser_get(). |