Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/CUEParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,18 @@ class CUEParser
CUEParser(const char *cue_sheet);

// Restart parsing from beginning of file
void restart();
virtual void restart();

// Get information for next track.
// Returns nullptr when there are no more tracks.
// The returned pointer remains valid until next call to next_track()
// or destruction of this object.
const CUETrackInfo *next_track();
virtual const CUETrackInfo *next_track();

// Same as next_track(), but takes the file size into account when
// switching files. This is necessary for getting the correct track
// lengths when the .cue file references multiple .bin files.
const CUETrackInfo *next_track(uint64_t prev_file_size);
virtual const CUETrackInfo *next_track(uint64_t prev_file_size);

protected:
const char *m_cue_sheet;
Expand Down