• Max Kellermann's avatar
    DetachedSong: compare start_time and end_time in IsSame() · e847ddf0
    Max Kellermann authored
    This method is used by DecoderControl::IsCurrentSong(), which is used
    by the player thread to check whether the current decoder instance can
    be reused to seek.  When switching to another song in the same CUE
    sheet, previously DetachedSong::IsSame() returned true, and thus the
    old decoder instance was used for the new song, not considering the
    new end_time.  This led to the old decoder quickly quitting.
    e847ddf0
DetachedSong.hxx 4.69 KB